Skip to content

Commit

Permalink
Update deployment script (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptoffy authored Jul 17, 2024
1 parent a06e707 commit 920604c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
DomainName=vapor.codes,
S3BucketName=vapor-main-site,
AcmCertificateArn=${{ secrets.CERTIFICATE_ARN }}
if: steps.cred.outcome == 'success'
- name: Deploy to S3
id: s3deploy
uses: jakejarvis/s3-sync-action@master
Expand All @@ -43,7 +44,7 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.SITE_DEPLOYER_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.SITE_DEPLOYER_ACCESS_KEY_SECRET }}
AWS_REGION: "eu-west-2"
SOURCE_DIR: "dist"
SOURCE_DIR: "Output"
- name: Invalidate CloudFront
uses: awact/cloudfront-action@master
env:
Expand Down

0 comments on commit 920604c

Please sign in to comment.