We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fcae9b commit 150a918Copy full SHA for 150a918
1 file changed
.github/workflows/doxygen.yml
@@ -37,11 +37,13 @@ jobs:
37
find docs-out -mindepth 1 ! -regex '^docs-out/\.git\(/.*\)?' -delete
38
cp -R docs/html/* docs-out/
39
40
- - name: Commit & Push
41
- working-directory: docs-out
+ - name: Commit & Push to `docs` branch
42
run: |
43
git config user.name "github-actions[bot]"
44
git config user.email "github-actions[bot]@users.noreply.github.com"
+ git fetch origin docs || git checkout --orphan docs
45
+ git switch docs || git checkout -b docs
46
+ cp -r docs/html/* .
47
git add .
48
git commit -m "Regenerate Doxygen docs from ${{ github.sha }}" || echo "No changes to commit"
- git push
49
+ git push https://x-access-token:${{ secrets.USER_SECRET }}@github.com/${{ github.repository }}.git HEAD:docs
0 commit comments