Skip to content

Commit

Permalink
chore: Update GitHub Actions workflow to deploy documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Louis Barbarant committed Jul 16, 2024
1 parent f8202b0 commit a9eac46
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# Steps to build the documentation.
build_docs:
# This prevents this workflow from running on a fork.
if: github.repository == 'parietal-INRIA/fakerepo'
if: github.repository == 'parietal-INRIA/fmralign'
runs-on: ubuntu-latest
timeout-minutes: 360
defaults:
Expand Down Expand Up @@ -84,20 +84,21 @@ jobs:
- name: Upload documentation
uses: actions/upload-artifact@v4
with:
name: doc
name: DocHTML
path: doc/_build/html

# Deploy the documentation to GitHub Pages.
deploy_docs:
if: github.repository == 'parietal-INRIA/fmralign'
# needs: build_docs
needs: build_docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: DocHTML
path: doc/_build/html/

- name: Commit to documentation branch
Expand Down

0 comments on commit a9eac46

Please sign in to comment.