ttest #74
Workflow file for this run
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: CDK Deploy | |
on: | |
push: | |
branches: | |
- cdkLambdaDeployFinal | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18.19.0' | |
- name: Install AWS CLI | |
run: | | |
sudo apt-get install -y python3-pip | |
pip3 install awscli | |
- name: Configure AWS Credentials | |
run: | | |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws configure set default.region ${{ secrets.AWS_DEFAULT_REGION }} | |
- name: Install CDK | |
run: npm install -g aws-cdk@latest | |
- name: Install CDK Dependencies | |
run: npm install | |
working-directory: ./deployment | |
- name: CDK Deploy | |
run: cdk deploy -c railsMasterKey="test" | |
working-directory: ./deployment |