Skip to content

A new home

A new home #1

Workflow file for this run

name: PR - Closed
on:
pull_request:
branches:
- main
types: [closed]
jobs:
delete-s3:
name: Delete S3 Website
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.head.repo.full_name == 'vapor/website' && github.actor != 'dependabot[bot]' }}
env:
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 }}
steps:
- name: Delete Website Bucket
uses: rishabhrao/s3-website-https-pr-action@v1
with:
bucket-prefix: "vapor-website-pulls"