Skip to content

Commit

Permalink
Update documentation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hartym authored Feb 1, 2024
1 parent a8be2d6 commit e71f207
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Deploy sphinx documentation Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main", "dev"]
branches: ["dev"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -57,14 +56,7 @@ jobs:
with:
path: 'docs/_build/html'

#- name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: 'docs/_build/html'
destination_dir: '${GITHUB_REF##*/}'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit e71f207

Please sign in to comment.