Skip to content

fix: Move "Migrating from v2 to v3" info block inside Go tab (#442) #367

fix: Move "Migrating from v2 to v3" info block inside Go tab (#442)

fix: Move "Migrating from v2 to v3" info block inside Go tab (#442) #367

Workflow file for this run

name: Build and Deploy
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build-and-deploy:
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install and Build 🔧
run: |
yarn install
yarn crowdin:sync
yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
git-config-name: casbin-bot
git-config-email: bot@casbin.com
repository-name: casbin/casbin.io
branch: master # The deploy branch.
folder: build # The deploy folder.