Skip to content

feat: 优化滚动条,侧边滚动效果 #24

feat: 优化滚动条,侧边滚动效果

feat: 优化滚动条,侧边滚动效果 #24

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