chore: add ci for docs-v2 (#18231)

This commit is contained in:
Adam Dobrawy
2022-02-02 21:06:10 +01:00
committed by GitHub
parent 9b91a0dd9b
commit f212f884e5

31
.github/workflows/superset-docs-v2.yml vendored Normal file
View 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