File tree 2 files changed +23
-1
lines changed
2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 7
7
8
8
env :
9
9
ARTIFACT_NAME : ${{ github.sha }}.zip
10
- ARTIFACT_BUCKET : devstarter- development-spa -builds
10
+ ARTIFACT_BUCKET : email-footer-template- development-app -builds
11
11
12
12
DEPLOY_BUCKET : email-footer-template-app
13
13
DEPLOY_URL : https://duuaiv9oid06y.cloudfront.net
Original file line number Diff line number Diff line change
1
+ name : Pull Request Cleanup
2
+
3
+ on :
4
+ pull_request :
5
+ types : [closed]
6
+
7
+ jobs :
8
+ cleanup :
9
+ runs-on : ubuntu-20.04
10
+ steps :
11
+ - name : Configure AWS Credentials
12
+ uses : aws-actions/configure-aws-credentials@v1
13
+ with :
14
+ aws-access-key-id : ${{ secrets.DEVELOPMENT_AWS_ACCESS_KEY_ID }}
15
+ aws-secret-access-key : ${{ secrets.DEVELOPMENT_AWS_SECRET_ACCESS_KEY }}
16
+ aws-region : eu-west-1
17
+
18
+ - name : Remove preview from S3
19
+ run : |
20
+ aws s3 rm \
21
+ --recursive \
22
+ 's3://email-footer-template-app/PR-${{ github.event.number }}'
You can’t perform that action at this time.
0 commit comments