Skip to content

Commit

Permalink
Update mkdocsDeploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunday-Crunk authored Apr 10, 2024
1 parent 94ad3c9 commit 4aaa527
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/mkdocsDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ jobs:
- name: Custom Deploy to GitHub Pages
run: |
mkdocs build --clean
cd site
git init
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git fetch --depth=1 origin gh-pages
git checkout -B gh-pages
git add -f site/*
git add .
git commit -m 'Deploy MkDocs Site'
git push -u origin gh-pages --force
git push -f https://github.com/penwern/curate-documentation.git master:gh-pages

0 comments on commit 4aaa527

Please sign in to comment.