feat: document flexible domain token naming for RBAC with domains (#436) #361
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: [email protected] | |
| repository-name: casbin/casbin.io | |
| branch: master # The deploy branch. | |
| folder: build # The deploy folder. |