Skip to content

Commit

Permalink
docs: Fix docs CI workflow dispatch (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmnlab authored Apr 10, 2024
1 parent e058c29 commit b43bc97
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Documentation

on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -26,7 +30,7 @@ jobs:
activate-environment: arx
auto-update-conda: true
conda-solver: libmamba
python-version: 3.8.1
python-version: "3.10"

- name: Install deps
run: |
Expand All @@ -37,6 +41,7 @@ jobs:
run: makim --verbose docs.build

- name: GitHub Pages action
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: peaceiris/actions-gh-pages@v3.5.9
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit b43bc97

Please sign in to comment.