Update docs-ci.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alexa Amundson
2025-11-24 04:48:53 -06:00
committed by GitHub
parent 2979029c38
commit ca9ea4532c

View File

@@ -33,10 +33,10 @@ jobs:
- name: Deploy preview to GitHub Pages - name: Deploy preview to GitHub Pages
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
run: npx gh-pages -d build -b gh-pages --repo https://github.com/${{ github.repository }} --silent --message "docs preview $GITHUB_SHA" --add uses: peaceiris/actions-gh-pages@v4
env: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
- name: Comment preview URL - name: Comment preview URL
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
uses: actions/github-script@v7 uses: actions/github-script@v7