Skip to content

Commit 745ab46

Browse files
qwerzlcapy-ai[bot]
andauthored
ci: publish staging builds only when dispatched (ENG-4600) (#6)
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
1 parent 1a6c9a8 commit 745ab46

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Publish staging
22

3+
# Run by hand to start a release; Promote to production then publishes it.
34
on:
4-
push:
5-
branches: [main]
65
workflow_dispatch:
76
inputs:
87
dry_run:
@@ -32,4 +31,4 @@ jobs:
3231
package: "@photon-ai/chat-adapter"
3332
ci-workflow: ci.yml
3433
pack: node scripts/pack-release.mjs
35-
dry-run: ${{ github.event_name == 'workflow_dispatch' && inputs.dry_run }}
34+
dry-run: ${{ inputs.dry_run }}

0 commit comments

Comments
 (0)