[feature-#1775][connector][http] http supports offline mode #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docs deploy. | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "website/**/*" | |
- "docs/**/*" | |
pull_request: | |
branches: | |
- master | |
paths: | |
- "website/**/*" | |
- "docs/**/*" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
if: github.repository =='DTStack/chunjun' | |
name: Deployment help document. | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
cache: yarn | |
cache-dependency-path: website/yarn.lock | |
- name: build | |
working-directory: website | |
run: | | |
yarn install --frozen-lockfile | |
yarn build | |
yarn export | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: website/out | |