Skip to content

Commit

Permalink
Update triggers actions for each environment
Browse files Browse the repository at this point in the history
  • Loading branch information
hamiltonrossbjss committed Dec 11, 2023
1 parent 47e7547 commit 39d9c92
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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 }}
1 change: 1 addition & 0 deletions .github/workflows/deploy-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
16 changes: 16 additions & 0 deletions .github/workflows/deploy-integration.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 39d9c92

Please sign in to comment.