chore: initial commit with Gitea Actions workflow
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
name: Build and Deploy Hugo Site
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout source
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0 # needed for .GitInfo and lastmod
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
hugo-version: 'latest'
|
||||
extended: true
|
||||
|
||||
- name: Build site
|
||||
run: hugo --minify --gc
|
||||
|
||||
- name: Deploy to Caddy site directory
|
||||
run: |
|
||||
# Runner is on the same host as Caddy.
|
||||
# /deploy is mounted into the runner container → maps to /srv/docker/caddy/site on the host.
|
||||
echo "Syncing built site to /deploy ..."
|
||||
rsync -av --delete public/ /deploy/
|
||||
echo "Deploy complete."
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 318 KiB |
|
Before Width: | Height: | Size: 409 B After Width: | Height: | Size: 409 B |
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
@@ -0,0 +1,69 @@
|
||||
# -- Main Menu --
|
||||
# The main menu is displayed in the header at the top of the page.
|
||||
# Acceptable parameters are name, pageRef, page, url, title, weight.
|
||||
#
|
||||
# The simplest menu configuration is to provide:
|
||||
# name = The name to be displayed for this menu link
|
||||
# pageRef = The identifier of the page or section to link to
|
||||
#
|
||||
# By default the menu is ordered alphabetically. This can be
|
||||
# overridden by providing a weight value. The menu will then be
|
||||
# ordered by weight from lowest to highest.
|
||||
|
||||
[[main]]
|
||||
name = "Blog"
|
||||
pageRef = "posts"
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
name = "Parent"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
name = "example sub-menu 1"
|
||||
parent = "Parent"
|
||||
pageRef = "posts"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
name = "example sub-menu 2"
|
||||
parent = "Parent"
|
||||
pageRef = "posts"
|
||||
weight = 20
|
||||
|
||||
[[subnavigation]]
|
||||
name = "An interesting topic"
|
||||
pageRef = "tags/interesting-topic"
|
||||
weight = 10
|
||||
|
||||
[[subnavigation]]
|
||||
name = "My Awesome Category"
|
||||
pre = "github"
|
||||
pageRef = "categories/awesome"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
name = "Categories"
|
||||
pageRef = "categories"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
name = "Tags"
|
||||
pageRef = "tags"
|
||||
weight = 30
|
||||
|
||||
|
||||
# -- Footer Menu --
|
||||
# The footer menu is displayed at the bottom of the page, just before
|
||||
# the copyright notice. Configure as per the main menu above.
|
||||
|
||||
|
||||
[[footer]]
|
||||
name = "Tags"
|
||||
pageRef = "tags"
|
||||
weight = 10
|
||||
|
||||
[[footer]]
|
||||
name = "Categories"
|
||||
pageRef = "categories"
|
||||
weight = 20
|
||||
@@ -1,6 +1,6 @@
|
||||
languageCode = "en"
|
||||
|
||||
title = "Affordable Technology Services"
|
||||
title = "[Coming Soon] - Affordable Technology Services"
|
||||
|
||||
[params]
|
||||
displayName = "ATS4ALL"
|
||||
@@ -8,7 +8,7 @@ title = "Affordable Technology Services"
|
||||
rtl = false
|
||||
|
||||
[params.author]
|
||||
name = "Affordable Technology Services"
|
||||
image = "images/author.png"
|
||||
name = "[Coming Soon]- Affordable Technology Services"
|
||||
image = "images/author.jpg"
|
||||
headline = "Friendly technology help for your home."
|
||||
bio = "Affordable Technology Services provides practical, patient technology support and solutions."
|
||||
bio = "Affordable Technology Services provides practical, patient technology support and solutions."
|
||||
|
||||
@@ -9,5 +9,5 @@ mainSections = ["posts"]
|
||||
|
||||
[homepage]
|
||||
layout = "background"
|
||||
homepageImage = "images/ats4all.png"
|
||||
homepageImage = "images/ats4all.jpg"
|
||||
showRecent = false
|
||||
+1
-3
@@ -3,8 +3,6 @@ title: "Affordable Technology Services"
|
||||
description: "Affordable Technology Services provides friendly, affordable computer help, software support, and home technology solutions."
|
||||
---
|
||||
|
||||
Friendly technology help for your home.
|
||||
|
||||
Technology should make life easier, not more frustrating.
|
||||
|
||||
Whether your computer is running slowly, your Wi-Fi isn't cooperating, or you need help setting up a new device, Affordable Technology Services provides practical, patient support.
|
||||
@@ -15,4 +13,4 @@ Whether your computer is running slowly, your Wi-Fi isn't cooperating, or you ne
|
||||
- Software installation and support
|
||||
- Home Wi-Fi and networking
|
||||
- Data backup and recovery
|
||||
- Remote assistance
|
||||
- Remote assistance
|
||||
|
||||
Reference in New Issue
Block a user