debugging

This commit is contained in:
paul-loedige
2024-11-11 23:39:00 +01:00
parent 0d38824f5f
commit ed2cf1db47
+15 -5
View File
@@ -26,9 +26,19 @@ jobs:
apt-get install -y hugo
- name: Build Hugo Site
run: hugo --minify --config hugo.toml
run: hugo --minify --config hugo.toml -d /output
# - name: Debug
# run: |
# apt-get install -y tree
# tree /
# - name: Deploy Hugo Site
# run: |
# docker run --rm \
# --mount type=bind,source=/var/gitea/hugo-output,target=/output \
# ubuntu:latest \
# /bin/bash -c "echo 'This is a test' > /output/index.html"
- name: Deploy Hugo Site
run: docker cp /output/. gitea-runner:/output
- name: Deploy to Hugo Container
run: |
apt-get install -y rsync
rsync -avz --delete public/ /mnt/hugo/