upload only if on master
This commit is contained in:
parent
03fc6a4b50
commit
73848e0e63
@ -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 }}
|
||||
|
Reference in New Issue
Block a user