Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
heygsc committed Aug 29, 2024
1 parent 7e422b7 commit 6861818
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/hhh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,7 @@ jobs:
run: pnpm install && pnpm docs:build

# 部署到GitHub Pages - 也就是将打包内容发布到GitHub Pages
- name: Deploy
# 使用别人写好的 actions去部署(将打包文件部署到指定分支上)
uses: JamesIves/github-pages-deploy-action@v4.3.3
# 自定义环境变量
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# 指定仓库:你要发布的仓库路径名
repository-name: heygsc/hello
# 部署到 deploy-pages 分支,也就是部署后提交到那个分支
branch: master
# 填写打包好的目录名称路径,本项目配置在根目录
folder: .vitepress/dist
path: docs/.vitepress/dist

0 comments on commit 6861818

Please sign in to comment.