Skip to content

Commit

Permalink
h
Browse files Browse the repository at this point in the history
  • Loading branch information
chengcyber committed May 31, 2024
1 parent 656fcf0 commit 0a6850e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/website-preview-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
node-version: 18
- name: Set environment variable
run: echo "BASE_URL=/pr/${{ github.event.number }}/sparo/" >> $GITHUB_ENV
run: echo "BASE_URL=/sparo/preview/pr-${{ github.event.number }}/" >> $GITHUB_ENV
- name: Rush Install(Website)
run: node common/scripts/install-run-rush.js install --to website
- name: Rush build(Website)
Expand All @@ -44,7 +44,7 @@ jobs:
with:
github_token: ${{ secrets.BOT_ACCESS_TOKEN }}
publish_dir: ./apps/website/build
destination_dir: pr/${{ github.event.number }}/sparo
destination_dir: preview/pr-${{ github.event.number }}
# - name: Comment on the pull request with preview URL
# if: github.event_name == 'pull_request'
# uses: peter-evans/commit-comment@v2
Expand Down

0 comments on commit 0a6850e

Please sign in to comment.