Compare commits

..
3 Commits
Author SHA1 Message Date
ats4all 7fe404e775 Another changes
Build and Deploy Hugo Site / build-and-deploy (push) Successful in 2m32s
2026-08-14 16:32:05 -04:00
ats4all dee15a11df Modify _index.md to reflect a preview site build
Build and Deploy Hugo Site / build-and-deploy (push) Successful in 1m42s
2026-08-14 16:23:25 -04:00
ats4all 0eb78a7369 Preview site build test 01 2026-08-14 16:18:13 -04:00
2 changed files with 19 additions and 7 deletions
+17 -7
View File
@@ -4,6 +4,7 @@ on:
push: push:
branches: branches:
- master - master
- preview
jobs: jobs:
build-and-deploy: build-and-deploy:
@@ -30,13 +31,22 @@ jobs:
- name: Build site - name: Build site
run: hugo --minify --gc run: hugo --minify --gc
- name: Deploy to Caddy site directory - name: Build and Deploy (Live - master)
if: github.ref == 'refs/heads/master'
run: | run: |
echo "=== Checking /deploy-live mount ===" echo "Building site for live (help.ats4all.com)..."
ls -la /deploy-live || echo "/deploy-live does not exist or is not mounted" hugo --minify --gc -b "https://help.ats4all.com"
echo "=== Contents of public/ ===" echo "Deploying to /deploy-live ..."
ls -la public/ || echo "public/ not found"
echo "Deploying to live site ..."
rm -rf /deploy-live/* rm -rf /deploy-live/*
cp -a public/. /deploy-live/ cp -a public/. /deploy-live/
echo "Deploy complete." echo "Live deploy complete."
- name: Build and Deploy (Preview - preview)
if: github.ref == 'refs/heads/preview'
run: |
echo "Building site for preview (testweb.ats4all.com)..."
hugo --minify --gc -D -b "https://testweb.ats4all.com"
echo "Deploying to /deploy-preview ..."
rm -rf /deploy-preview/*
cp -a public/. /deploy-preview/
echo "Preview deploy complete."
+2
View File
@@ -3,6 +3,8 @@ title: "Affordable Technology Services"
description: "Affordable Technology Services provides friendly, affordable computer help, software support, and home technology solutions." description: "Affordable Technology Services provides friendly, affordable computer help, software support, and home technology solutions."
--- ---
Site Build Preview Test
Technology should make life easier, not more frustrating. 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. 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.