File tree 1 file changed +12
-3
lines changed 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
1
name : Build SMPTE document
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ pull_request :
6
+ release :
7
+ types : [published]
4
8
5
9
env :
6
10
AWS_REGION : us-east-1
11
15
jobs :
12
16
build :
13
17
runs-on : ubuntu-latest
14
- if : github.repository_owner == 'SMPTE' && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'pull_request')
18
+ if : >
19
+ github.repository_owner == 'SMPTE' && (
20
+ (github.event_name == 'push' && github.ref == 'refs/heads/main')
21
+ || github.event_name == 'pull_request'
22
+ || github.event_name == 'release'
23
+ )
15
24
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
16
25
permissions :
17
26
id-token : write
56
65
AWS_S3_BUCKET : ${{env.AWS_S3_BUCKET}}
57
66
AWS_S3_KEY_PREFIX : " ${{env.REPOSITORY_NAME}}/"
58
67
CANONICAL_LINK_PREFIX : ${{env.CANONICAL_LINK_PREFIX}}
59
- GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
68
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments