Skip to content

Commit

Permalink
Update preview.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet authored Aug 11, 2024
1 parent 88e24af commit 74c89c5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
types:
- completed

defaults:
run:
shell: bash

jobs:
preview:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -34,7 +38,9 @@ jobs:
rm -f pr-id.txt
- name: Publishing to surge for preview
id: deploy
run: npx surge ./ --domain https://quarkus-site-pr-${PR_ID}-preview.surge.sh --token ${{ secrets.SURGE_TOKEN }}
run:
npm install -g surge
surge ./ --domain https://quarkus-site-pr-${PR_ID}-preview.surge.sh --token ${{ secrets.SURGE_TOKEN }}
env:
PR_ID: ${{ steps.pr.outputs.id }}

Expand Down

0 comments on commit 74c89c5

Please sign in to comment.