We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ae2047c + 1d76663 commit 1257600Copy full SHA for 1257600
1 file changed
.github/workflows/build.yml
@@ -1,10 +1,9 @@
1
name: Build release
2
3
on:
4
- pull_request:
+ push:
5
branches:
6
- main
7
- types: [closed]
8
9
env:
10
CI: true
@@ -19,8 +18,7 @@ jobs:
19
18
permissions:
20
contents: write
21
runs-on: ubuntu-latest
22
- environment: production # will be develop.
23
- if: github.event.pull_request.merged
+ environment: production
24
steps:
25
- name: Authenticate with GitHub App
26
uses: actions/create-github-app-token@v1
@@ -54,7 +52,7 @@ jobs:
54
52
55
53
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
56
with:
57
- commitish: ${{ github.ref }}
+ commitish: ${{ github.sha }}
58
tag_name: ${{ steps.version.outputs.VERSION }}
59
release_name: ${{ steps.version.outputs.VERSION }}
60
draft: false
0 commit comments