Skip to content

Commit

Permalink
Merge pull request #332 from fusion-energy/shimwell-patch-3
Browse files Browse the repository at this point in the history
update docs folders
  • Loading branch information
shimwell authored Sep 27, 2024
2 parents 76e4c73 + e309d5f commit 3e8009b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/documentation_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,14 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
run: |
sphinx-build docs _build/${{ github.ref_name }}
sphinx-build docs _build/docs
rm -rf _build/stable
mkdir _build/stable
sphinx-build docs _build/stable
- name: Sphinx build dev version
if: (github.event_name == 'push' || github.event_name == 'pull_request') && !startsWith(github.ref, 'refs/tags/')
run: |
rm -rf _build/dev
mkdir _build/dev
sphinx-build docs _build/dev
- name: Deploy docs to GitHub Pages
if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 3e8009b

Please sign in to comment.