Skip to content

Commit

Permalink
[+] add GHA workflow to publish devel docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Dec 16, 2024
1 parent f450899 commit eb23620
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,12 @@ jobs:
- name: Install dependencies
run: pip install mike mkdocs-material mkdocs-glightbox

- name: Check if we should push to gh-pages
# if: ${{ github.event_name == 'pull_request' && github.ref == 'refs/heads/master' }}
run: |
echo ${{ github.event_name }}
echo ${{ github.ref }}
echo "push_opt=--debug" >> $GITHUB_ENV
- name: Build mkdocs
run: mike --debug deploy devel
run: mike ${{ env.push_opt }} deploy devel

0 comments on commit eb23620

Please sign in to comment.