Update post processing section to include recent 2.5.0 changes. #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Teardown | |
on: | |
pull_request_target: | |
types: | |
- closed | |
concurrency: | |
group: pr-build-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
teardown: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup NPM | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 8 | |
- name: Install Surge | |
run: npm install -g surge | |
- name: Teardown Surge | |
run: | | |
surge teardown https://chunky-dev-docs-pr-${{ github.event.pull_request.number }}.surge.sh --token ${{ secrets.SURGE_TOKEN }} || true | |
- name: Update Comment | |
uses: actions-cool/maintain-one-comment@v1.2.1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
body: | | |
PR Preview has been destroyed since this PR is closed. | |
<!-- Sticky Pull Request Comment --> | |
body-include: "<!-- Sticky Pull Request Comment -->" | |
number: ${{ github.event.pull_request.number }} |