Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
reschandreas committed Feb 25, 2024
1 parent a752142 commit 224853c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
pull_request:
paths:
- 'docs/**'
- '.github/workflows/docs.yml'
- '.github/workflows/docs.yaml'
push:
branches:
- develop
paths:
- 'docs/**'
- '.github/workflows/docs.yml'
- '.github/workflows/docs.yaml'

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand All @@ -29,12 +29,11 @@ jobs:
build-command: make html dirhtml
- uses: actions/upload-artifact@v3
with:
name: documentation
name: Documentation
path: docs/_build/html/
- uses: actions/upload-pages-artifact@v3
with:
path: docs/_build/dirhtml/

# Deployment job
deploy:
if: github.ref == 'refs/heads/develop'
Expand All @@ -46,4 +45,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit 224853c

Please sign in to comment.