This is an automated email from the ASF dual-hosted git repository. hulk pushed a commit to branch fix/website-publish in repository https://gitbox.apache.org/repos/asf/casbin-website.git
commit 0b065498dc113dbcd32e5cf253857e620b05ae15 Author: git-hulk <[email protected]> AuthorDate: Mon Mar 16 19:28:25 2026 +0800 Fix the publish website in node-ci.yml --- .github/workflows/node-ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 212a3d1..97761cd 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -48,5 +48,12 @@ jobs: crowdin_branch_name: master create_pull_request: false - - name: Deploy Website - run: cd website && yarn install && GIT_USER="${GH_NAME}" yarn run publish-gh-pages + - name: Build Website + run: cd website && yarn install && yarn build + + - uses: peaceiris/actions-gh-pages@v3 + if: github.event_name != 'pull_request' + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./website/build/casbin.github.io + publish_branch: asf-site --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
