This commit is contained in:
parent
92eebeb7e9
commit
d8fcf9bee7
@ -22,6 +22,20 @@ jobs:
|
||||
run: |
|
||||
doxygen Doxyfile
|
||||
|
||||
- name: Move `/docs/html/` contents to web branch
|
||||
run: |
|
||||
# Ensure a clean Git state
|
||||
git config --global user.name "${{ gitea.actor }}"
|
||||
git config --global user.email "${{ gitea.actor }}@example.com"
|
||||
git fetch origin
|
||||
git checkout --orphan web
|
||||
git reset --hard
|
||||
git clean -fdx
|
||||
cp -r docs/html/* .
|
||||
git add .
|
||||
git commit -m "Update web branch with documentation"
|
||||
git push origin web --force
|
||||
|
||||
- name: Execute Pterodactyl Power Action
|
||||
uses: D3OXY/pterodactyl-power@V1
|
||||
with:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user