Skip to content

Commit

Permalink
Test doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafostar committed May 9, 2024
1 parent 21cc2c1 commit c2074eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ jobs:
fetch-depth: 0
- name: Build
run: |
echo ${{github.ref}}
meson setup builddir -Dauto_features=enabled \
-Dclapper-app=disabled -Dvapi=disabled -Ddoc=true \
-Dglimporter=auto -Dgluploader=auto -Drawimporter=auto
cd builddir
meson compile
- name: Commit files
if: success() && github.ref == 'refs/heads/master'
if: ${{ success() && github.ref == 'refs/pull/*/merge' }}
run: |
git checkout gh-pages
rm -rf doc/clapper/*
Expand All @@ -48,7 +49,7 @@ jobs:
git commit -m "doc: Update"
- name: Push changes
uses: ad-m/github-push-action@master
if: success() && github.ref == 'refs/heads/master'
if: ${{ success() && github.ref == 'refs/pull/*/merge' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages

0 comments on commit c2074eb

Please sign in to comment.