Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/build_pr_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,12 @@ jobs:
run: |
git config --global user.name "github-actions"
git config --global user.email "[email protected]"

git clone --branch gh-pages https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git preview
mkdir -p preview/pull/${{ github.event.number }}
cp -r _site/* preview/pull/${{ github.event.number }}/
cd preview
git add .
git commit -m "Deploy PR #${{ github.event.number }} preview"

git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
git push origin gh-pages

Expand Down