Skip to content

plasma-*, sdds-*: fix Attach square prop #1320

plasma-*, sdds-*: fix Attach square prop

plasma-*, sdds-*: fix Attach square prop #1320

name: Clean up S3
on:
pull_request:
types: [closed]
branches:
- master
pull_request_target:
types: [closed]
branches:
- dev
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-22.04
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}"