cp _images to vuepress dist

Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
pull/441/head
Kang HuaiShuai 2020-02-23 10:14:40 +08:00
parent a2e8595c42
commit 6c0fc9e416
No known key found for this signature in database
GPG Key ID: 0A380828B1C243A7
1 changed files with 17 additions and 0 deletions

View File

@ -23,6 +23,23 @@ jobs:
npm i
npm run vuepress:build
echo "vuepress.docker-practice.com" > .vuepress/dist/CNAME
cp -r _images .vuepress/dist
cp -r advanced_network/_images .vuepress/dist/advanced_network
cp -r appendix/_images .vuepress/dist/appendix
cp -r cases/ci/drone/_images .vuepress/dist/cases/ci/drone
cp -r cases/os/_images .vuepress/dist/cases/os
cp -r cloud/_images .vuepress/dist/cloud
cp -r data_management/_images .vuepress/dist/data_management
cp -r etcd/_images .vuepress/dist/etcd
cp -r image/_images .vuepress/dist/image
cp -r install/_images .vuepress/dist/install
cp -r introduction/_images .vuepress/dist/introduction
cp -r kubernetes/_images .vuepress/dist/kubernetes
cp -r mesos/_images .vuepress/dist/mesos
cp -r underly/_images .vuepress/dist/underly
echo "include: [_images]" > .vuepress/dist/_config
- name: Upload Vuepress dist
uses: docker://pcit/pages
if: github.repository == 'docker-practice/docker_practice'