Skip to content

Commit a612923

Browse files
committed
Bump tooling
1 parent 335d0f5 commit a612923

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Build SMPTE document
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
pull_request:
6+
release:
7+
types: [published]
48

59
env:
610
AWS_REGION: us-east-1
@@ -11,7 +15,12 @@ env:
1115
jobs:
1216
build:
1317
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+
)
1524
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
1625
permissions:
1726
id-token: write
@@ -56,4 +65,4 @@ jobs:
5665
AWS_S3_BUCKET: ${{env.AWS_S3_BUCKET}}
5766
AWS_S3_KEY_PREFIX: "${{env.REPOSITORY_NAME}}/"
5867
CANONICAL_LINK_PREFIX: ${{env.CANONICAL_LINK_PREFIX}}
59-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
68+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)