Skip to content

feat(icons): update icon set (VIV-1576) #757

feat(icons): update icon set (VIV-1576)

feat(icons): update icon set (VIV-1576) #757

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"