Skip to content

Fixed URL for configuring JSON support #589

Fixed URL for configuring JSON support

Fixed URL for configuring JSON support #589

name: Surge.sh Preview Teardown
on:
pull_request_target:
types: [closed]
paths:
- 'docs/src/main/asciidoc/**'
- '.github/workflows/doc-build.yml'
jobs:
preview-teardown:
runs-on: ubuntu-latest
steps:
- name: Teardown surge preview
id: deploy
run: npx surge teardown https://quarkus-pr-main-${{ github.event.number }}-preview.surge.sh --token ${{ secrets.SURGE_TOKEN }} || true
- name: Update PR status comment
uses: actions-cool/maintain-one-comment@v3.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
body: |
🙈 The PR is closed and the preview is expired.
<!-- Sticky Pull Request Comment -->
body-include: '<!-- Sticky Pull Request Comment -->'
number: ${{ github.event.number }}