|
@@ -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 [email protected]: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
|
|
|
-
|