diff --git a/.forgejo/workflows/deploy-scraper-google.yml b/.forgejo/workflows/deploy-scraper-google.yml index cb3c6c7..67c2daf 100644 --- a/.forgejo/workflows/deploy-scraper-google.yml +++ b/.forgejo/workflows/deploy-scraper-google.yml @@ -26,8 +26,8 @@ jobs: deploy: needs: build runs-on: docker # node:22-bookworm — the runner has the host Docker socket mounted - # Manual-only, default branch only (equivalent to GitLab `when: manual` on CI_DEFAULT_BRANCH). - if: ${{ github.event_name == 'workflow_dispatch' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }} + # Deploy on any push to master, and also when triggered manually from master. + if: ${{ github.ref == 'refs/heads/master' }} environment: name: production steps: