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 install --without dev
|
||||||
- run: poetry run python books.py
|
- run: poetry run python books.py
|
||||||
- run: bash -x upload.sh
|
- run: bash -x upload.sh
|
||||||
|
if: ${{ gitea.ref == 'refs/heads/master' }}
|
||||||
env:
|
env:
|
||||||
USERNAME: ${{ secrets.USERNAME }}
|
USERNAME: ${{ secrets.USERNAME }}
|
||||||
PASSWORD: ${{ secrets.PASSWORD }}
|
PASSWORD: ${{ secrets.PASSWORD }}
|
||||||
|
Reference in New Issue
Block a user