debugging
This commit is contained in:
@@ -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