improve deploy

pull/3909/head
ruki 7 months ago
parent 3b0d9258f4
commit 47937ca800
  1. 10
      .github/workflows/deploy.yml

@ -36,6 +36,11 @@ jobs:
export PATH=`pwd`/node-v14.15.4-linux-x64/bin:$PATH
sudo npm install markdown-to-html -g
- name: Build artifacts
if: ${{ github.repository }} == "xmake-io/xmake-repo"
run: |
xmake l scripts/build_artifacts.lua
- name: Publish documents
run: |
git clone git@github.com:xmake-io/xrepo-docs.git
@ -52,8 +57,3 @@ jobs:
git diff-index --quiet HEAD || git commit -m "autoupdate docs by xmake-repo/ci"
git push all master
- name: Build artifacts
if: ${{ github.repository }} == "xmake-io/xmake-repo"
run: |
xmake l scripts/build_artifacts.lua

Loading…
Cancel
Save