提交 28d55e29 编写于 作者: B baiy 提交者: ninecents

update action

上级 703eed53
......@@ -16,13 +16,11 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Initialize / Install Dependencies
if: startsWith(github.ref, 'refs/tags/')
run: |
mkdir temp_release
npm install
- name: Build web
if: startsWith(github.ref, 'refs/tags/')
run: |
npm run build -adapter=web
cp -r ./dist ./dist_gh_pages
......@@ -76,7 +74,6 @@ jobs:
./temp_release/firefox.zip
- name: Deploy web to gh-pages
if: startsWith(github.ref, 'refs/tags/')
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册