Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update action to deploy to GitHub pages #623

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
6 changes: 4 additions & 2 deletions .github/workflows/deploy_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches: [ main ]
pull_request:

permissions:
contents: write

jobs:
build-and-deploy-docs:
runs-on: ubuntu-latest
Expand All @@ -26,7 +29,7 @@ jobs:
working-directory: ${{ env.docs-directory }}
run: |
make html
- name: Archive documentation
- name: Archivei documentation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- name: Archivei documentation
- name: Archive documentation

uses: actions/upload-artifact@v4
with:
name: documentation.tar.gz
Expand All @@ -38,7 +41,6 @@ jobs:
run: touch .nojekyll
# This action moves the content of `generated_docs` to the `deploy-doc-site` branch
- name: Deploy docs
if: ${{ github.ref == 'refs/heads/main' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: deploy-doc-site
Expand Down
Loading