5 Commits
Author SHA1 Message Date
Vezpi f19239837c fix: patch .Site.Data references in Stack theme at build time
Blog Test / Check-Rebuild (push) Successful in 8s
Blog Test / Build (push) Successful in 19s
Blog Test / Deploy-Test (push) Successful in 11s
Blog Test / Test (push) Successful in 3s
2026-04-01 06:42:49 +00:00
Vezpi 7baf7162b7 fix: revert local submodule commit 2026-04-01 06:40:30 +00:00
Vezpi 7d7b1aa627 fix: patch remaining .Site.Data references in Stack theme
Blog Test / Check-Rebuild (push) Successful in 15s
Blog Test / Build (push) Has been skipped
Blog Test / Deploy-Test (push) Successful in 14s
Blog Test / Test (push) Failing after 5s
2026-04-01 06:25:37 +00:00
Vezpi e170345fdd fix: revert to git clone instead of checkout
Blog Test / Check-Rebuild (push) Successful in 8s
Blog Test / Build (push) Has been skipped
Blog Test / Deploy-Test (push) Successful in 11s
Blog Test / Test (push) Failing after 5s
2026-03-30 09:29:42 +00:00
Vezpi 44bf161765 update: theme/stack version
Blog Test / Check-Rebuild (push) Failing after 5s
Blog Test / Build (push) Has been skipped
Blog Test / Deploy-Test (push) Has been skipped
Blog Test / Test (push) Has been skipped
2026-03-30 09:03:58 +00:00
3 changed files with 6 additions and 9 deletions
+2 -8
View File
@@ -23,10 +23,7 @@ jobs:
docker_folder_changed: ${{ steps.docker_folder.outputs.changed }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ gitea.ref_name }}
token: ${{ secrets.REPO_TOKEN }}
run: git clone --branch ${{ gitea.ref_name }} https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git .
- name: Check Latest Hugo Version
id: get_latest
@@ -81,10 +78,7 @@ jobs:
shell: sh
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
ref: ${{ gitea.ref_name }}
token: ${{ secrets.REPO_TOKEN }}
run: git clone --branch ${{ gitea.ref_name }} https://${{ secrets.REPO_TOKEN }}@git.vezpi.com/Vezpi/blog.git .
- name: Build Docker Image
run: |
+3
View File
@@ -21,6 +21,9 @@ rm -rf "$CLONE_DIR"
echo "- Cloning $REPO_URL (branch: $BRANCH)..."
git clone --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR"
# Patch .Site.Data references not yet fixed in Stack theme
sed -i 's/\.Site\.Data/hugo.Data/g' "$CLONE_DIR/themes/stack/layouts/_partials/article/components/photoswipe.html"
# Generate static files with hugo
echo "- Building site with Hugo v$HUGO_VERSION in $HUGO_DEST..."
hugo --source "$CLONE_DIR" --destination "$HUGO_DEST" --baseURL="https://${URL}" ${DRAFTS} --logLevel info --cleanDestinationDir --gc --panicOnWarning --printI18nWarnings