Skip to content

Commit

Permalink
Try fixing doc deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
SiegeLordEx authored and SiegeLord committed May 18, 2024
1 parent 3e2d0f6 commit 57ccd43
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1

Expand All @@ -32,12 +32,19 @@ jobs:
make html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
uses: actions/checkout@v4
with:
folder: build/docs/html/refman
target-folder: a5docs/trunk
repository: liballeg/liballeg.github.io
ssh-key: ${{ secrets.LIBALLEG_DEPLOY_KEY }}
branch: master
repository-name: liballeg/liballeg.github.io
commit-message: Automatic update from allegro5
clean: true
ref: master
path: liballeg
run: |
cd liballeg
git config user.name "allebot"
git config user.email "13711631+allebot@users.noreply.github.com"
rm -R a5docs/trunk
cp -R ../build/docs/html/refman a5docs/trunk
git add a5docs/trunk
git commit -m "Automatic update from allegro5"
git push

0 comments on commit 57ccd43

Please sign in to comment.