From 8fb9cb95c0103fa7ce66317a2d646cb678230cfa Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Thu, 1 Aug 2024 17:22:27 -0700 Subject: [PATCH] feat(ci): deploy on release --- .github/workflows/release.yml | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..7a27bef81 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,39 @@ +name: Release + +on: + release: + types: [published, updated] + +concurrency: + # Do not interrupt previous workflows + group: ${{ github.workflow }} + cancel-in-progress: false + +jobs: + dump: + name: Dump Contexts + runs-on: ubuntu-latest + steps: + - name: Debug GitHub Action + uses: raven-actions/debug@v1.1.0 + + # init: + # name: Initialize + # outputs: + # pr: ${{ steps.pr.outputs.pr }} + # runs-on: ubuntu-latest + # steps: + # # Get PR number for squash merges to main + # - name: PR Number + # id: pr + # uses: bcgov-nr/action-get-pr@v0.0.1 + + # deploy-prod: + # name: PROD + # needs: [init] + # secrets: inherit + # uses: ./.github/workflows/.deploy.yml + # with: + # environment: prod + # tag: ${{ needs.init.outputs.pr }} + # target: prod