Skip to content

VA-407-3: Re-implement AWS session verification in a way which doesn'… #56

VA-407-3: Re-implement AWS session verification in a way which doesn'…

VA-407-3: Re-implement AWS session verification in a way which doesn'… #56

Workflow file for this run

name: Build and test master
on:
push:
branches:
- master
jobs:
build:
uses: ./.github/workflows/build.yaml
secrets: inherit
push-green:
name: Push to green-master and deploy to dev
needs: build
runs-on: ubuntu-22.04
permissions:
contents: write
actions: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Update green-master and run deploy-dev.yaml workflow
run: |
git config user.name github-actions
git config user.email [email protected]
git fetch origin green-master:green-master
git checkout green-master
git merge --ff-only ${{ github.sha }}
git push origin green-master
gh workflow run deploy-dev.yaml --ref green-master
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}