We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f803b2 commit 8dc1bfcCopy full SHA for 8dc1bfc
1 file changed
.github/workflows/deploy.yaml
@@ -1,16 +1,23 @@
1
name: Deploy
2
3
on:
4
- workflow_dispatch:
+ workflow_run:
5
+ workflows: [Test]
6
+ types: [completed]
7
+ branches: [main]
8
9
jobs:
10
publish-extension:
11
name: Publish to marketplace
12
runs-on: ubuntu-latest
13
environment: production
14
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
15
+
16
steps:
17
- name: Checkout repository
18
uses: actions/checkout@v6
19
+ with:
20
+ ref: ${{ github.event.workflow_run.head_sha }}
21
22
- name: Set up Node.js
23
uses: actions/setup-node@v6
0 commit comments