feat(plasma-new-hope): Notification added #679
Workflow file for this run
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: Clean up S3 | |
on: | |
pull_request: | |
types: [closed] | |
branches: | |
- dev | |
- master | |
concurrency: | |
# New commit on branch cancels running workflows of the same branch | |
group: ${{ github.workflow }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
clean: | |
name: Clean up | |
runs-on: ubuntu-latest | |
env: | |
NPM_REGISTRY_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }} | |
PR_NAME: pr-${{ github.event.number }} | |
steps: | |
- name: s3 Clean artifacts made for closed pr - pr | |
uses: vitorsgomes/s3-rm-action@master | |
with: | |
args: --recursive | |
env: | |
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET_2 }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_S3_ENDPOINT: ${{ secrets.AWS_ENDPOINT }} | |
AWS_REGION: ${{ secrets.AWS_REGION }} | |
PATH_TO_DELETE: "pr/${PR_NAME}" |