Skip to content

Commit

Permalink
Update main.yml (create gh-pages/docs)
Browse files Browse the repository at this point in the history
  • Loading branch information
hellobq authored Feb 7, 2024
1 parent 7cd25c7 commit 5b4a0d1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

jobs:
build:
build-and-deploy:
runs-on: ubuntu-latest

steps:
Expand All @@ -29,7 +29,13 @@ jobs:
npm install
npm run build
- name: Run gh-pages
- 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

0 comments on commit 5b4a0d1

Please sign in to comment.