diff --git a/.github/workflows/storybook.yml b/.github/workflows/storybook.yml index 3db123c2b..396f15991 100644 --- a/.github/workflows/storybook.yml +++ b/.github/workflows/storybook.yml @@ -13,12 +13,19 @@ jobs: - name: Install and Build 🔧 run: | # Install npm packages and build the Storybook files yarn install - yarn b:sb:ocap-angular + yarn b:docs + mv dist/storybook/angular docs/storybook + mv packages/core/docs docs/api/core + mv packages/store/docs docs/api/store + mv packages/sql/docs docs/api/sql + mv packages/xmla/docs docs/api/xmla + mv packages/echarts/docs docs/api/echarts + mv packages/duckdb/docs docs/api/duckdb - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@v4.5.0 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: dist/storybook/angular # The folder that the build-storybook script generates files. - CLEAN: true # Automatically remove deleted files from the deploy branch - TARGET_FOLDER: . \ No newline at end of file + token: ${{ secrets.GITHUB_TOKEN }} + branch: gh-pages # The branch the action should deploy to. + folder: docs # The folder that the build-storybook script generates files. + clean: true # Automatically remove deleted files from the deploy branch + target-folder: . \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 000000000..2daa9ad4f --- /dev/null +++ b/docs/index.html @@ -0,0 +1,23 @@ + + +
+ +