Skip to content

Use net.datafaker:datafaker because the original is abandoned #249

Use net.datafaker:datafaker because the original is abandoned

Use net.datafaker:datafaker because the original is abandoned #249

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://quarkiverse-quarkus-workshops-pr-${{ github.event.number }}-preview.surge.sh --token ${{ secrets.SURGE_TOKEN }} || echo "NOT_TORNDOWN=true" >> "$GITHUB_ENV"
- name: Update PR status comment
uses: actions-cool/[email protected]
if: env.NOT_TORNDOWN != 'true'
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 }}