Skip to content

Commit

Permalink
Bump tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
palemieux committed Jun 27, 2024
1 parent 335d0f5 commit a612923
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build SMPTE document

on: [push, pull_request]
on:
push:
pull_request:
release:
types: [published]

env:
AWS_REGION: us-east-1
Expand All @@ -11,7 +15,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository_owner == 'SMPTE' && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'pull_request')
if: >
github.repository_owner == 'SMPTE' && (
(github.event_name == 'push' && github.ref == 'refs/heads/main')
|| github.event_name == 'pull_request'
|| github.event_name == 'release'
)
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
Expand Down Expand Up @@ -56,4 +65,4 @@ jobs:
AWS_S3_BUCKET: ${{env.AWS_S3_BUCKET}}
AWS_S3_KEY_PREFIX: "${{env.REPOSITORY_NAME}}/"
CANONICAL_LINK_PREFIX: ${{env.CANONICAL_LINK_PREFIX}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit a612923

Please sign in to comment.