Skip to content

Optimize Preview PR CI without duplicate comments #8

Optimize Preview PR CI without duplicate comments

Optimize Preview PR CI without duplicate comments #8

Workflow file for this run

name: Remove preview PR
on:
pull_request:
types: [ closed ]
jobs:
build:
runs-on: "ubuntu-22.04"
if: github.repository_owner == 'php'
steps:
- uses: appleboy/[email protected]
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 }}