upload only if on master
All checks were successful
books / lint (push) Successful in 1m13s
books / epub (push) Successful in 3m14s

This commit is contained in:
Michel Roux 2023-06-25 22:56:35 +02:00
parent 03fc6a4b50
commit 73848e0e63

View File

@ -26,6 +26,7 @@ jobs:
- run: poetry install --without dev
- run: poetry run python books.py
- run: bash -x upload.sh
if: ${{ gitea.ref == 'refs/heads/master' }}
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}