Skip to content

Commit

Permalink
Revert "Clean output folder before copying contents from build output (
Browse files Browse the repository at this point in the history
…#168)"

This reverts commit f001b43.
  • Loading branch information
timothymcmackin committed Nov 16, 2023
1 parent 8274b5b commit ade5eee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_S3_PRODUCTION_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_S3_PRODUCTION_SECRET }}
aws-region: eu-west-1
- run: aws s3 rm ${{ secrets.AWS_S3_STAGE_PATH }}/*
- run: aws s3 sync ./build ${{ secrets.AWS_S3_PRODUCTION_PATH }}
- run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_DISTRIBUTION_PRODUCTION }} --paths '/*'
1 change: 0 additions & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@ jobs:
aws-access-key-id: ${{ secrets.AWS_S3_STAGE_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_S3_STAGE_SECRET }}
aws-region: eu-west-1
- run: aws s3 rm ${{ secrets.AWS_S3_STAGE_PATH }}/*
- run: aws s3 sync ./build ${{ secrets.AWS_S3_STAGE_PATH }}
- run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_DISTRIBUTION_STAGE }} --paths '/*'

1 comment on commit ade5eee

@vercel
Copy link

@vercel vercel bot commented on ade5eee Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.