Skip to content

Commit

Permalink
update action to push the docs to site
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirMardan committed Mar 27, 2024
1 parent 2f8afc5 commit 9bb90c2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ jobs:
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m 'deploy'
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
- name: Force push to destination branch
uses: ad-m/github-push-action@v0.5.0
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
force: true
directory: ./docs/build/html

0 comments on commit 9bb90c2

Please sign in to comment.