Skip to content

Bump jbangdev/jbang-action from 0.115.0 to 0.117.1 #576

Bump jbangdev/jbang-action from 0.115.0 to 0.117.1

Bump jbangdev/jbang-action from 0.115.0 to 0.117.1 #576

name: Surge.sh Preview Teardown
on:
pull_request_target:
types: [closed]
jobs:
preview-teardown:
runs-on: ubuntu-latest
steps:
- name: Teardown surge preview
id: deploy
run: npx surge teardown https://quarkus-site-pr-${{ github.event.number }}-preview.surge.sh --token ${{ secrets.SURGE_TOKEN }} || echo "NOT_TORNDOWN=true" >> "$GITHUB_ENV"
- name: Update PR status comment
uses: quarkusio/action-helpers@main
if: env.NOT_TORNDOWN != 'true'
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 -->