1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00
Files
archived-web-php/.github/workflows/pr-closed.yml

19 lines
606 B
YAML

name: Remove preview PR
on:
pull_request_target:
types: [ closed ]
jobs:
build:
runs-on: "ubuntu-22.04"
if: github.repository_owner == 'php'
steps:
- uses: appleboy/ssh-action@v1.2.5
with:
host: ${{ secrets.PREVIEW_REMOTE_HOST }}
username: ${{ secrets.PREVIEW_REMOTE_USER }}
key: ${{ secrets.PREVIEW_SSH_KEY }}
script: |
bash /home/thephpfoundation/scripts/pr_closed.sh web-php ${{ github.event.number }}
bash /home/thephpfoundation/scripts/pr_closed.sh web-php-regression-report ${{ github.event.number }}