@@ -42,8 +42,14 @@ jobs:
|
||||
run: doxygen Doxyfile
|
||||
|
||||
- name: Deploy to Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
publish_dir: ./docs/html
|
||||
publish_branch: pages
|
||||
github_token: ${{ secrets.GITEA_TOKEN }}
|
||||
run: |
|
||||
git config user.name "CI Bot"
|
||||
git config user.email "ci-bot@homelinuxserver"
|
||||
git fetch origin
|
||||
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