Skip to content

Commit

Permalink
ci: actions-gh-pages not actions/deploy-pages (#1670)
Browse files Browse the repository at this point in the history
  • Loading branch information
bottler authored Dec 5, 2024
1 parent c66af15 commit cb5b907
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/every_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,26 +72,12 @@ jobs:
. venv/bin/activate
cd docs/
make html
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
- name: Deploy docs to github-pages branch
uses: peaceiris/actions-gh-pages@v3
with:
path: docs/_build/html/
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html
if: github.event_name != 'pull_request'
deploy-docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: install
if: github.event_name != 'pull_request'
permissions:
id-token: write
pages: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
static:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit cb5b907

Please sign in to comment.