Skip to content

Merge pull request #5 from hellobq/nostyle #12

Merge pull request #5 from hellobq/nostyle

Merge pull request #5 from hellobq/nostyle #12

Workflow file for this run

name: auto gh-pages
on:
push:
branches:
- main
jobs:
build-depoly:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '14.21.3'
- name: Build Root Project
run: |
npm install
npm run build
- name: Build Project example-vite2
run: |
cd example-vite2
npm install
npm run build
- name: move gh-pages files
run: |
ls -a
npm run gh-pages
- name: deploy gh-pages files
uses: JamesIves/[email protected]
with:
folder: docs
branch: gh-pages