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:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: docker # node:22-bookworm — the runner has the host Docker socket mounted
|
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).
|
# Deploy on any push to master, and also when triggered manually from master.
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
environment:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue