We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3209e1 commit 4bd5871Copy full SHA for 4bd5871
.github/workflows/publish.yml
@@ -1,9 +1,7 @@
1
name: Publish
2
3
on:
4
- pull_request:
5
- types: [closed]
6
- branches: [main]
+ workflow_dispatch:
7
8
permissions:
9
contents: write
@@ -12,9 +10,7 @@ permissions:
12
10
jobs:
13
11
publish:
14
runs-on: ubuntu-latest
15
- if: |
16
- github.event.pull_request.merged == true &&
17
- github.event.pull_request.head.ref == 'release'
+ if: github.ref == 'refs/heads/main'
18
environment: production
19
steps:
20
- uses: actions/checkout@v6
0 commit comments