Skip to content

Commit

Permalink
ci: replace old deployment step
Browse files Browse the repository at this point in the history
  • Loading branch information
tassiluca committed Feb 20, 2024
1 parent 3210f9d commit d6787ab
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish-doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ jobs:
run: |
cd docs
hugo
- name: Deployment
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
- name: Deploy website
if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/master' }}
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: docs
publish_dir: ./docs/public
branch: docs
folder: docs/public

0 comments on commit d6787ab

Please sign in to comment.