Skip to content

fix(actions): ✨ adjusting to trigger only on approved prs #23

fix(actions): ✨ adjusting to trigger only on approved prs

fix(actions): ✨ adjusting to trigger only on approved prs #23

Workflow file for this run

# name: 'Deploy to AWS CloudFormation'
# on:
# # push:
# # branches: [ main ]
# pull_request:
# branches: [ main ]
# # Allows you to run this workflow manually from the Actions tab
# workflow_dispatch:
# jobs:
# # This workflow contains a single job called "deploy"
# deploy:
# # The type of runner that the job will run on
# runs-on: ubuntu-latest
# # Steps represent a sequence of tasks that will be executed as part of the job
# steps:
# # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# - name: Checkout code from main branch
# uses: actions/checkout@v2
# # Configure AWS Credentials
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-session-token: ${{ secrets.AWS_SESSION_TOKEN }}
# aws-region: us-east-1
# # Deploy to AWS CloudFormation
# - name: Deploy to AWS CloudFormation
# uses: aws-actions/aws-cloudformation-github-deploy@v1
# with:
# name: stack-deployment
# template: cf.yml
# no-fail-on-empty-changeset: "1"
# parameter-overrides: "DBPassword=postgresdb,EnvironmentType=dev"