Preview and Build website in docker container (#1668)

* start/build docs in docker

* restore old fashion

* fix release ci
This commit is contained in:
yangsoon
2021-05-17 19:09:37 +08:00
committed by GitHub
parent e63ec032b2
commit 2fa02bc1c0
6 changed files with 56 additions and 20 deletions

View File

@@ -127,7 +127,12 @@ jobs:
asset_content_type: text/plain
- uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: "12.x"
- uses: actions/setup-python@v2
with:
python-version: "3.7"
- name: Clean md files
run: python ./hack/website/clean-md.py ./docs/en
- name: Sync release to kubevela.io Repo
env:
SSH_DEPLOY_KEY: ${{ secrets.GH_PAGES_DEPLOY }}
@@ -136,4 +141,4 @@ jobs:
run: |
bash ./hack/website/release.sh
- name: Update kubectl plugin version in krew-index
uses: rajatjindal/krew-release-bot@v0.0.38
uses: rajatjindal/krew-release-bot@v0.0.38