@@ -42,8 +42,14 @@ jobs:
|
|||||||
run: doxygen Doxyfile
|
run: doxygen Doxyfile
|
||||||
|
|
||||||
- name: Deploy to Pages
|
- name: Deploy to Pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
run: |
|
||||||
with:
|
git config user.name "CI Bot"
|
||||||
publish_dir: ./docs/html
|
git config user.email "ci-bot@homelinuxserver"
|
||||||
publish_branch: pages
|
git fetch origin
|
||||||
github_token: ${{ secrets.GITEA_TOKEN }}
|
git checkout --orphan pages
|
||||||
|
git rm -rf .
|
||||||
|
cp -r docs/html/* .
|
||||||
|
git add .
|
||||||
|
git commit -m "Update docs" || echo "No changes to commit"
|
||||||
|
git push https://$USERNAME:${{ secrets.GITEA_TOKEN }}@homelinuxserver.ddns.net/git/<username>/<repo>.git pages --force
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user