Skip to content

Test github pages deployment #1

Test github pages deployment

Test github pages deployment #1

Workflow file for this run

name: Smart Forms Docs Deployment Workflow
on:
push:
# branches: [ "main" ]
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy-docusaurus:
environment:
name: github-pages
url: ${{ steps.build-publish.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Build documentation website
run: npm run build -w documentation
- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
# deploy-storybook:
# environment:
# name: github-pages
# url: ${{ steps.build-publish.outputs.page_url }}
#
# runs-on: ubuntu-latest
# steps:
# - uses: bitovi/[email protected]
# with:
# path: packages/smart-forms-renderer/storybook-static
# install_command: npm ci
# build_command: npm run build-storybook -w packages/smart-forms-renderer