fix deploy
Some checks failed
Deploy scraper-google / build (push) Successful in 15m28s
Deploy scraper-google / deploy (push) Failing after 19s

This commit is contained in:
Elshimy Ziad Magdy Taha 2026-07-09 18:58:28 +05:00
parent 26301bd805
commit 5d10319df7

View file

@ -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: