Skip to content

Commit

Permalink
Merge pull request #5 from thematheusgomes/fix/deployment
Browse files Browse the repository at this point in the history
Change secrets.json to yml and add s3 download secrets step
  • Loading branch information
thematheusgomes authored Apr 16, 2021
2 parents 5437f22 + 64bb39c commit f416600
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/prod-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
env:
S3_URI: s3://boomcredit-devops/pepe/secrets.json
S3_URI: s3://boomcredit-devops/pepe/secrets.yml
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -24,6 +24,8 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Download secrets.yml from S3
run: aws s3 cp $S3_URI ./secrets.yml --region us-east-1
- name: Deploy
run: npm run deploy:prod
- name: Google Chat Notification
Expand Down

0 comments on commit f416600

Please sign in to comment.