1name: Remove preview PR 2on: 3 pull_request_target: 4 types: [ closed ] 5 6jobs: 7 build: 8 runs-on: "ubuntu-22.04" 9 if: github.repository_owner == 'php' 10 steps: 11 - uses: appleboy/ssh-action@v1.2.0 12 with: 13 host: ${{ secrets.PREVIEW_REMOTE_HOST }} 14 username: ${{ secrets.PREVIEW_REMOTE_USER }} 15 key: ${{ secrets.PREVIEW_SSH_KEY }} 16 script: | 17 bash /home/thephpfoundation/scripts/pr_closed.sh web-php ${{ github.event.number }} 18 bash /home/thephpfoundation/scripts/pr_closed.sh web-php-regression-report ${{ github.event.number }} 19