Skip to content

Commit

Permalink
Update names of Glass Onion secrets in prod workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandrenkov committed Oct 3, 2023
1 parent 37ab0db commit 84c2f3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-demos-to-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@ jobs:
steps:
- name: Pull staging bucket
env:
AWS_ACCESS_KEY_ID: ${{ secrets.STAGING_MAIN_GLASS_ONION_DEMOS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.STAGING_MAIN_GLASS_ONION_DEMOS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.STAGING_MAIN_GLASS_ONION_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.STAGING_MAIN_GLASS_ONION_AWS_SECRET_ACCESS_KEY }}
AWS_S3_BUCKET_ID: ${{ secrets.STAGING_MAIN_GLASS_ONION_DEMOS_BUCKET_ID }}
run: |
aws s3 cp --recursive s3://$AWS_S3_BUCKET_ID ./local-master
- name: Push production bucket
env:
AWS_ACCESS_KEY_ID: ${{ secrets.PROD_MAIN_GLASS_ONION_DEMOS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.PROD_MAIN_GLASS_ONION_DEMOS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.PROD_MAIN_GLASS_ONION_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.PROD_MAIN_GLASS_ONION_AWS_SECRET_ACCESS_KEY }}
AWS_S3_BUCKET_ID: ${{ secrets.PROD_MAIN_GLASS_ONION_DEMOS_BUCKET_ID }}
run: |
aws s3 sync ./local-master s3://$AWS_S3_BUCKET_ID --delete

0 comments on commit 84c2f3d

Please sign in to comment.