mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-15 22:07:13 +00:00
28 lines
687 B
YAML
28 lines
687 B
YAML
name: docs
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'docs/**'
|
|
branches:
|
|
- master
|
|
- release-*
|
|
jobs:
|
|
release-website:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
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 to kubevela.io Repo
|
|
env:
|
|
SSH_DEPLOY_KEY: ${{ secrets.GH_PAGES_DEPLOY }}
|
|
VERSION: ${{ github.ref }}
|
|
COMMIT_ID: ${{ github.sha }}
|
|
run: |
|
|
bash ./hack/website/release.sh |