Skip to content

Commit 61492ff

Browse files
committed
[vuepress] push dist to coding.net
Signed-off-by: Kang HuaiShuai <[email protected]>
1 parent 6f96aaf commit 61492ff

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
run: |
2121
sudo rm -rf _book
2222
npx vuepress build
23+
echo "vuepress.docker-practice.com" > .vuepress/dist/CNAME
2324
- name: Upload Vuepress dist
2425
uses: docker://pcit/pages
2526
if: github.repository == 'docker-practice/docker_practice'
@@ -32,3 +33,15 @@ jobs:
3233
PCIT_MESSAGE: Sync from yeasy/docker_practice@${{github.sha}} by PCIT
3334
PCIT_TARGET_BRANCH: master
3435
PCIT_USERNAME: khs1994
36+
- name: Upload Vuepress dist to coding.net
37+
uses: docker://pcit/pages
38+
if: github.repository == 'docker-practice/docker_practice'
39+
env:
40+
PCIT_EMAIL: [email protected]
41+
PCIT_GIT_TOKEN: ${{ secrets.CODING_GIT_TOKEN }}
42+
PCIT_GIT_URL: git.dev.tencent.com/khs1994/docker_practice
43+
PCIT_KEEP_HISTORY: "1"
44+
PCIT_LOCAL_DIR: .vuepress/dist
45+
PCIT_MESSAGE: Sync from yeasy/docker_practice@${{github.sha}} by PCIT
46+
PCIT_TARGET_BRANCH: master
47+
PCIT_USERNAME: khs1994

0 commit comments

Comments
 (0)