From 39d9c929af846688baf1561c67040ccda83fff84 Mon Sep 17 00:00:00 2001 From: Ross Hamilton Date: Mon, 11 Dec 2023 15:47:38 +0000 Subject: [PATCH] Update triggers actions for each environment --- .../{deploy-feature.yml => deploy-VTMDev-2.yml} | 8 +++----- .github/workflows/deploy-develop.yml | 1 + .github/workflows/deploy-integration.yml | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 5 deletions(-) rename .github/workflows/{deploy-feature.yml => deploy-VTMDev-2.yml} (75%) create mode 100644 .github/workflows/deploy-integration.yml diff --git a/.github/workflows/deploy-feature.yml b/.github/workflows/deploy-VTMDev-2.yml similarity index 75% rename from .github/workflows/deploy-feature.yml rename to .github/workflows/deploy-VTMDev-2.yml index 89c3708133..4d97522025 100644 --- a/.github/workflows/deploy-feature.yml +++ b/.github/workflows/deploy-VTMDev-2.yml @@ -1,18 +1,16 @@ -name: Build and Deploy VTM to Feature +name: Build and Deploy VTM to VTMDev1 run-name: "${{ github.actor }} - ${{ github.ref_name }} - ${{ github.run_id }} 🚀" on: workflow_dispatch: -# push: -# branches: -# - 'feature/*' jobs: feature-build: uses: ./.github/workflows/deploy.yml with: branch: ${{ github.ref_name }} - environment: 'feature' + environment: 'vtmdev-2' + bucket: '-vtmdev-2.develop' secrets: AWS_MGMT_ROLE: ${{ secrets.AWS_MGMT_ROLE }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} diff --git a/.github/workflows/deploy-develop.yml b/.github/workflows/deploy-develop.yml index 8172b6cc46..72dd2a0c27 100644 --- a/.github/workflows/deploy-develop.yml +++ b/.github/workflows/deploy-develop.yml @@ -13,6 +13,7 @@ jobs: with: branch: ${{ github.ref_name }} environment: 'develop' + bucket: '.develop' secrets: AWS_MGMT_ROLE: ${{ secrets.AWS_MGMT_ROLE }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} diff --git a/.github/workflows/deploy-integration.yml b/.github/workflows/deploy-integration.yml new file mode 100644 index 0000000000..305f42c6f6 --- /dev/null +++ b/.github/workflows/deploy-integration.yml @@ -0,0 +1,16 @@ +name: Build and Deploy VTM to Develop +run-name: "${{ github.actor }} - ${{ github.ref_name }} - ${{ github.run_id }} 🚀" + +on: + workflow_dispatch: + +jobs: + develop-build: + uses: ./.github/workflows/deploy.yml + with: + branch: ${{ github.ref_name }} + environment: 'integration' + bucket: '.integration' + secrets: + AWS_MGMT_ROLE: ${{ secrets.AWS_MGMT_ROLE }} + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}