Skip to content

Commit

Permalink
Test modified github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjward committed Nov 11, 2024
1 parent 0c2d058 commit fbe4e0e
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
push:
branches: ["master", "dham/delete_dolfin_adjoint"]

pull:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand All @@ -31,27 +33,27 @@ jobs:
- uses: actions/checkout@v3
- name: Install
run: |
python -m pip install -e '.[doc]'
python -m pip install --user -e '.[doc]'
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Build with sphinx
run: |
cd docs
make html
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./docs/build/html
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v2
# with:
# path: ./docs/build/html

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
# deploy:
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v2

0 comments on commit fbe4e0e

Please sign in to comment.