Skip to content

release(prod): stage to main #5

release(prod): stage to main

release(prod): stage to main #5

name: Production Diff
on:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- edited
permissions:
id-token: write # AWS OIDC
contents: read # Checkout
jobs:
production_diff:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
- name: Install Node
run: npm ci
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: arn:aws:iam::581184285249:role/github-oidc-role
aws-region: eu-west-1
- name: CDK Diff Prod
run: npm run cdk:diff:prod
env:
FORCE_COLOR: "1"