fix deploy
This commit is contained in:
parent
26301bd805
commit
5d10319df7
1 changed files with 2 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue