Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: book url #259

Merged
merged 1 commit into from
Jan 14, 2025
Merged
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
7 changes: 3 additions & 4 deletions .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,19 @@ jobs:
# Step 6: Clone the target repository
- name: Clone the target repository
run: |
git clone https://github.com/fandango-fuzzer/fandango-fuzzer.github.io.git target-repo
cd target-repo
git clone https://github.com/fandango-fuzzer/fandango-fuzzer.github.io.git gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Step 7: Copy the built HTML files to the target repository
- name: Copy built files to the target repository
run: |
cp -r docs/_build/html/* target-repo/
cp -r docs/_build/html/* gh-pages/

# Step 8: Commit and push changes to the target repository
- name: Deploy to GitHub Pages
run: |
cd target-repo
cd gh-pages
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
Expand Down
Loading