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

update action

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