Skip to content

add debug logs

add debug logs #20

Workflow file for this run

name: "CDK Deploy"
on:
push:
env:
AWS_REGION: "ap-southeast-2"
IAM_ROLE: "arn:aws:iam::301436506805:role/WebsiteStack-GhActionRole736F37DC-AsvkLQkqWN4g"
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Git clone the repo
uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/[email protected]
with:
aws-region: ${{ env.AWS_REGION }}
role-session-name: cdkdeploygithubaction
role-to-assume: ${{ env.IAM_ROLE }}
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Deploy
run: nix develop --command bash -c "cd cdk && cdk deploy"