Update README.md #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: AWS CDK CD | |
# on: | |
# pull_request: | |
# branches: | |
# - master | |
# types: [closed] | |
# jobs: | |
# build: | |
# if: github.event.pull_request.merged == true | |
# name: Deploy AWS CDK Typescript Stack | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Initiated By User | |
# run: echo $GITHUB_ACTOR | |
# - name: Check Out Code | |
# uses: actions/checkout@v3.1.0 | |
# - name: Install Node | |
# uses: actions/setup-node@v3.5.0 | |
# - name: Install Dependencies | |
# run: npm ci | |
# - name: Build CDK Stack | |
# run: npm run build | |
# - name: Deploy AWS CDK Stack | |
# run: "npx cdk deploy AwsCloudappStack --ci --require-approval never --no-asset-metadata" | |
# env: | |
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
# AWS_DEFAULT_REGION: "ap-southeast-1" |