Skip to content

feat: trigger context #51

feat: trigger context

feat: trigger context #51

Workflow file for this run

name: deploy gh-pages
on:
push:
branches:
- master
- none
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false
- name: install node-v16
uses: actions/setup-node@v3
with:
node-version: '16.16.0'
- name: install dependencies
run: |
node -v
npm install -g [email protected]
pnpm install --registry=https://registry.npmjs.org/
- name: build project
run: |
npm run build
- name: deploy project
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: packages/react/build