Skip to content

Commit

Permalink
Set s3 key and bucket to env
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspnas committed Dec 1, 2023
1 parent 421de67 commit a0bbb39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
AWS_ACCESS_KEY: ${{ secrets.DO_S3_ACCESS_KEY }}
AWS_SECRET_KEY: ${{ secrets.DO_S3_SECRET_KEY }}
AWS_ENDPOINT_URL_S3: https://fra1.digitaloceanspaces.com/
S3_BUCKET: ${{ secrets.DATE_CONFIG_BUCKET }}
S3_KEY: ${{ secrets.DATE_FUNCTIONS_ENV }}
run: |
aws s3api get-object --bucket ${{ secrets.DATE_CONFIG_BUCKET }} --key ${{ secrets.DATE_FUNCTIONS_ENV }} .env
aws s3api get-object --bucket $S3_BUCKET --key $S3_KEY .env
- name: Set up DigitalOcean CLI
uses: digitalocean/action-doctl@v2
Expand Down

0 comments on commit a0bbb39

Please sign in to comment.