Skip to content

Commit 53b54ae

Browse files
authored
Enhance deploy script with completion message and cleanup
Add deployment completion message and cleanup step
1 parent 40b74d9 commit 53b54ae

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,3 +198,6 @@ jobs:
198198
$PR_API_URL | jq '.[0].number')
199199
echo "after pr_number=$PR_NUMBER"
200200
aws s3 sync s3://$S3_BUCKET_NAME/mergeRequest/$PR_NUMBER s3://$S3_BUCKET_NAME/production/
201+
echo "deploy complete..."
202+
# Delete contents of the pr folder
203+
aws s3 rm s3://$S3_BUCKET_NAME/mergeRequest/$PR_NUMBER --recursive

0 commit comments

Comments
 (0)