diff --git a/.gitea/workflows/books.yml b/.gitea/workflows/books.yml index 8046016..0fd72ed 100644 --- a/.gitea/workflows/books.yml +++ b/.gitea/workflows/books.yml @@ -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 }}