debugging
This commit is contained in:
1 parent
0d38824f5f
commit
ed2cf1db47
1 file changed
+15
-5
@@ -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/
|
||||
Reference in new issue
Block a user