Skip to content

feat(icons): update icon set (VIV-1651) #758

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

feat(icons): update icon set (VIV-1651) #758

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"