Skip to content

Commit

Permalink
修改 yaml 配置文件
Browse files Browse the repository at this point in the history
  • Loading branch information
qiang.bai committed Feb 7, 2024
1 parent 5b4a0d1 commit 7979d74
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 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-and-deploy:
build:
runs-on: ubuntu-latest

steps:
Expand All @@ -29,13 +29,18 @@ jobs:
npm install
npm run build
deploy:
needs: build
runs-on: ubuntu-latest

steps:
- name: move gh-pages files
run: |
ls -a
npm run gh-pages
- name: deploy gh-pages files
uses: JamesIves/github-pages-deploy-action@v4.3.3
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
folder: docs
branch: gh-pages

0 comments on commit 7979d74

Please sign in to comment.