Skip to content

Commit

Permalink
9273-bugs-on-the-registry-due-the-home-page-project
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jun 14, 2024
1 parent 9799663 commit ef9dd1c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/prod-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ jobs:
uses: reggionick/s3-deploy@v4
with:
folder: dist
bucket: ${{env.QA_AWS_BUCKET}}
bucket: ${{secrets.QA_AWS_BUCKET}}
bucket-region: ${{ secrets.AWS_REGION }}
dist-id: ${{env.QA_CLOUDFRONT_DIST_ID}}
dist-id: ${{secrets.QA_CLOUDFRONT_DIST_ID}}
invalidation: /
delete-removed: true
no-cache: true
private: true
files-to-include: '{.*/**,**}'
env:
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-1'

- name: Validate QA Deployment
Expand Down Expand Up @@ -85,17 +85,17 @@ jobs:
uses: reggionick/s3-deploy@v4
with:
folder: dist
bucket: ${{ env.FALLBACK_AWS_BUCKET }}
bucket: ${{ secrets.FALLBACK_AWS_BUCKET }}
bucket-region: ${{ secrets.AWS_REGION }}
dist-id: ${{ env.FALBACK_CLOUDFRONT_DIST_ID }}
dist-id: ${{ secrets.FALBACK_CLOUDFRONT_DIST_ID }}
invalidation: /
delete-removed: true
no-cache: true
private: true
files-to-include: '{.*/**,**}'
env:
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-1'

- name: Validate Fallback Deployment
Expand Down Expand Up @@ -132,17 +132,17 @@ jobs:
uses: reggionick/s3-deploy@v4
with:
folder: dist
bucket: ${{ env.PROD_AWS_BUCKET }}
bucket: ${{ secrets.PROD_AWS_BUCKET }}
bucket-region: ${{ secrets.AWS_REGION }}
dist-id: ${{ env.PROD_CLOUDFRONT_DIST_ID }}
dist-id: ${{ secrets.PROD_CLOUDFRONT_DIST_ID }}
invalidation: /
delete-removed: true
no-cache: true
private: true
files-to-include: '{.*/**,**}'
env:
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-east-1'

- name: Validate Production Deployment
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/qa-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ jobs:
echo "Script failed, raising an error."
exit 1
- name: Upload WordPress Staging HTML to S3
- name: Upload HTML to S3
uses: reggionick/s3-deploy@v4
if: ${{ inputs.environment != 'PROD' }}
with:
folder: dist
bucket: orcid-qa-public-page
bucket: ${{secrets.QA_AWS_BUCKET}}
bucket-region: ${{ secrets.AWS_REGION }}
dist-id: ${{secrets.QA_CLOUDFRONT_DIST_ID}}
invalidation: /
Expand Down Expand Up @@ -157,15 +157,15 @@ jobs:
uses: reggionick/s3-deploy@v4
with:
folder: dist
bucket: ${{env.QA_AWS_BUCKET}}
bucket: ${{secrets.QA_AWS_BUCKET}}
bucket-region: ${{ secrets.AWS_REGION }}
dist-id: ${{env.QA_CLOUDFRONT_DIST_ID}}
dist-id: ${{secrets.QA_CLOUDFRONT_DIST_ID}}
invalidation: /
delete-removed: true
no-cache: true
private: true
files-to-include: '{.*/**,**}'
env:
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ env.AWS_REGION }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}

0 comments on commit ef9dd1c

Please sign in to comment.