mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
chore: add ci for docs-v2 (#18231)
This commit is contained in:
31
.github/workflows/superset-docs-v2.yml
vendored
Normal file
31
.github/workflows/superset-docs-v2.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
name: Docs v2
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "docs-v2/**"
|
||||
- .github/workflows/superset-docs-v2.yml
|
||||
pull_request:
|
||||
paths:
|
||||
- "docs-v2/**"
|
||||
- .github/workflows/superset-docs-v2.yml
|
||||
|
||||
jobs:
|
||||
build-deploy:
|
||||
name: Build & Deploy
|
||||
runs-on: ubuntu-20.04
|
||||
defaults:
|
||||
run:
|
||||
working-directory: docs-v2
|
||||
steps:
|
||||
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
persist-credentials: false
|
||||
submodules: recursive
|
||||
- name: yarn install
|
||||
run: |
|
||||
yarn install --immutable --immutable-cache --check-cache
|
||||
- name: yarn build
|
||||
run: |
|
||||
yarn build
|
||||
Reference in New Issue
Block a user