Added postbuild script to the Gitea Action
All checks were successful
Build and Deploy Zola Website / build_and_deploy (push) Successful in 13s
Build Zola Website / build (pull_request) Successful in 20s

This commit is contained in:
Filip Rojek 2024-12-15 08:18:35 +01:00
parent 3112316e7d
commit 297f96ab99

View File

@ -29,6 +29,9 @@ jobs:
run: | run: |
./zola build ./zola build
- name: Run postbuild script
run: bash ./postbuild.sh
- name: Set Destination Folder if MASTER - name: Set Destination Folder if MASTER
if: ${{ github.ref == 'refs/heads/master' }} if: ${{ github.ref == 'refs/heads/master' }}
run: echo "DEST_FOLDER=/srv/www/cz/filiprojek/www" >> $GITHUB_ENV run: echo "DEST_FOLDER=/srv/www/cz/filiprojek/www" >> $GITHUB_ENV