diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 133fd962f..614212b24 100644 --- a/.github/workflows/deploy.yml +++ b/.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 -