From 5dd1f190c49cbd264fdea628af54fd8c6a3e649c Mon Sep 17 00:00:00 2001 From: Daniele Salvagni Date: Thu, 11 Jul 2024 14:58:21 +0200 Subject: [PATCH] feat: delete extra files on deploy --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 21e2410..2f8cf17 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,4 +22,4 @@ jobs: - name: Build application run: npm run build - name: Deploy to S3 - run: aws s3 sync ./dist/ s3://${{ secrets.BUCKET_ID }} + run: aws s3 sync ./dist/ s3://${{ secrets.BUCKET_ID }} --delete