Skip to content

Commit

Permalink
Properly set workflow file (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxs-ribs authored Nov 20, 2023
1 parent 8c471e8 commit 349291f
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
sudo apt-get --allow-releaseinfo-change update
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
with:
Expand All @@ -42,7 +44,7 @@ jobs:
- name: Build docs
run: cd docs && make deploy
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-pages-artifact@v1
with:
name: doc-build
path: 'docs/_build/dirhtml'
Expand All @@ -55,15 +57,8 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: doc-build
path: 'docs/_build/dirhtml'
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
with:
artifact_name: doc-build

0 comments on commit 349291f

Please sign in to comment.