Skip to content

Merge branch 'master' of https://github.com/cszo/react18-antd5-template #2

Merge branch 'master' of https://github.com/cszo/react18-antd5-template

Merge branch 'master' of https://github.com/cszo/react18-antd5-template #2

Workflow file for this run

name: Build And Deploy Template
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup Node.js 18
uses: actions/setup-node@master
with:
node-version: "18.x"
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Build
run: pnpm install && pnpm build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.REACT18_ANTD5_TEMPLATE }}
BRANCH: gh-pages
FOLDER: dist