From a61292376c3fe09994aff6880c6134c60d224fa4 Mon Sep 17 00:00:00 2001 From: Pierre-Anthony Lemieux Date: Thu, 27 Jun 2024 14:00:00 -0700 Subject: [PATCH] Bump tooling --- .github/workflows/main.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 575a11a..71f7a29 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 @@ -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}} \ No newline at end of file + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}