Skip to content

Commit

Permalink
ci: fix preview
Browse files Browse the repository at this point in the history
  • Loading branch information
jiazengp authored Dec 18, 2023
1 parent ed4c856 commit 7588e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
repository=${{github.repository}}
project_name=${repository#*/}
export DEPLOY_DOMAIN=https://kongying-tavern-preview-pr${{ steps.pr.outputs.id }}-$project_name.surge.sh
npx surge --project ./dist --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }}
npx surge --project ./_dist --domain $DEPLOY_DOMAIN --token ${{ secrets.SURGE_TOKEN }}
echo the preview URL is $DEPLOY_DOMAIN
echo "::set-output name=url::$DEPLOY_DOMAIN"
Expand Down

0 comments on commit 7588e90

Please sign in to comment.