feat(icons): update icon set (VIV-1651) #758
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cleanup Showcase (PR) | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
cleanup-demo-pr: | |
runs-on: ubuntu-latest | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_VIVID_DEMO_PRS_ACCESS }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_VIVID_DEMO_PRS_SECRET }} | |
AWS_DEFAULT_REGION: us-east-1 | |
steps: | |
- name: Cleanup showcase under PR ID (${{ github.event.number }}) | |
run: aws s3 rm s3://${{ secrets.AWS_VIVID_DEMO_PRS_BUCKET }}/${{ github.event.number }} --recursive | |
- name: Invalidate CloudFront distribution root object's cache | |
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_VIVID_DEMO_PRS_DISTRIBUTION }} --paths "/${{ github.event.number }}/index.html" |