From d6c731a9dbb4be88b6e1909cdcbb0298456e0eb3 Mon Sep 17 00:00:00 2001 From: Tim <0xtimc@gmail.com> Date: Thu, 18 Jul 2024 11:59:38 +0100 Subject: [PATCH] Manually delete bucket with correct label --- .github/workflows/pr-closed.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-closed.yaml b/.github/workflows/pr-closed.yaml index fd93244..e8200b8 100644 --- a/.github/workflows/pr-closed.yaml +++ b/.github/workflows/pr-closed.yaml @@ -15,9 +15,9 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.SITE_DEPLOYER_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.SITE_DEPLOYER_ACCESS_KEY_SECRET }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + BUCKET: ${{ format('vapor-website-pulls-pr{0}', github.event.number) }} steps: - name: Delete Website Bucket - uses: rishabhrao/s3-website-https-pr-action@v1 - with: - bucket-prefix: "vapor-website-pulls" + run: | + aws s3 rb s3://${BUCKET} --force