Skip to content

feat: 添加无权限页面 #18

feat: 添加无权限页面

feat: 添加无权限页面 #18

Workflow file for this run

name: webpack-react-admin
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.18.0'
- name: Install and Build
run: |
npm install
npm run build:prod
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
ACCESS_TOKEN: ${{ secrets.GH_PAGE_ACTION_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
BUILD_SCRIPT: npm install && npm run build:prod