mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-15 13:57:40 +00:00
* use shell instead action to sync website && don't sync index.js and config.js * update test website build * use bash instead sh
23 lines
517 B
YAML
23 lines
517 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'
|
|
- 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 |