Skip to content

Commit

Permalink
Idiot (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim authored Jul 18, 2024
1 parent 2244f49 commit 1bc63b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pr-closed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
BUCKET: ${{ format('vapor-website-pulls-pr{0}', github.event.number) }}

steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
if: ${{ github.event.pull_request.head.repo.full_name == 'vapor/website' && github.actor != 'dependabot[bot]' }}
with:
aws-access-key-id: ${{ secrets.SITE_DEPLOYER_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.SITE_DEPLOYER_ACCESS_KEY_SECRET }}
aws-region: eu-west-2
- name: Delete Website Bucket
run: |
aws s3 rb s3://${BUCKET} --force

0 comments on commit 1bc63b6

Please sign in to comment.