Skip to content

Introduce per invocation override of REST Client's base URL #1434

Introduce per invocation override of REST Client's base URL

Introduce per invocation override of REST Client's base URL #1434

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: quarkusio/action-helpers@main
with:
action: maintain-one-comment
github-token: ${{ secrets.GITHUB_TOKEN }}
pr-number: ${{ github.event.number }}
body: |
🙈 The PR is closed and the preview is expired.
body-marker: <!-- Preview status comment marker -->