Skip to content

Commit

Permalink
match names
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq committed Jun 20, 2024
1 parent 5eec50d commit 53b8ec4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deployonly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@ jobs:
dist: html # NOTE: matchupload_artifact name: html
failOnError: true

- name: Get the preview_url
run: echo "url => ${{ steps.preview_step.outputs.preview_url }}"
- name: Format preview url
id: format_url
run: |
echo "url_text=:rocket: Preview deployed at https://${{ steps.preview_step.outputs.preview_url }}" >> $GITHUB_OUTPUT
5 changes: 3 additions & 2 deletions .github/workflows/removepreview.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: PR Build
name: PR Teardown

on:
pull_request_target:
types: [closed]

jobs:
teardown:
# NOTE: jobname must match deployonly.yml
preview:
runs-on: ubuntu-latest
steps:
- name: Remove Surge.sh PR Preview
Expand Down

0 comments on commit 53b8ec4

Please sign in to comment.