From 9bb90c2b8c131621c3983dc9e6b82445e1e3f81c Mon Sep 17 00:00:00 2001 From: Amir Mardan <46511946+AmirMardan@users.noreply.github.com> Date: Wed, 27 Mar 2024 19:49:15 -0400 Subject: [PATCH] update action to push the docs to site --- .github/workflows/static.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 097bf7f..b132b29 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -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 +