Skip to content

Updating placeholder information #92

Updating placeholder information

Updating placeholder information #92

name: Delete catalog test deployment when pull request is closed / deleted
on:
pull_request:
types:
- closed
branches:
- 'main'
jobs:
delete_folder:
runs-on: ubuntu-latest
steps:
# Set up AWS credentials
- name: Set up AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-central-1
# Delete the folder from the S3 bucket
- name: Delete folder from S3
run: |
aws s3 rm s3://${{ secrets.AWS_S3_BUCKET }}/catalog/${{ github.event.pull_request.head.ref }} --recursive