We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea292a1 commit cc2adccCopy full SHA for cc2adcc
.github/workflows/npm-publish-github-packages.yml
@@ -35,9 +35,20 @@ jobs:
35
# 设定安装工具为 yarn
36
# - name: Global install Yarn 🔨
37
# run: npm install -g yarn
38
- # 安装依赖
39
- # - name: Install dependencies 📦️
40
- # run: npm install
+ # # 安装依赖
+ - name: Install dependencies 📦️
+ run: npm install
41
+ # 执行部署
42
+ - name: 部署
43
+ # 这个 action 会根据配置自动推送代码到指定分支
44
+ uses: JamesIves/github-pages-deploy-action@releases/v3
45
+ with:
46
+ # 指定密钥,即在第一步中设置的
47
+ ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
48
+ # 指定推送到的远程分支
49
+ BRANCH: gh-pages
50
+ # 指定构建之后的产物要推送哪个目录的代码
51
+ FOLDER: docs
52
- name: Print Env 📄
53
run: |
54
echo "node"
0 commit comments