This repository has been archived by the owner on Dec 16, 2024. It is now read-only.
Update README.MD - archive notice (#2017) #255
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: Publish Docs & Storybook | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Configuring Node.js | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: '16.13.2' | |
- name: Installing dependencies | |
run: | | |
npm install | |
- name: Run NX Commands | |
run: | | |
npm run nx build dotcms-webcomponents -- --with-deps | |
npm run nx run-many -- --target=build-storybook --parallel --projects=dotcms-ui,dotcms-webcomponents | |
npm run nx build-storybook dotcms-block-editor | |
npm run build:docs:dotcms | |
npm run build:docs:dotcms-models | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist-docs |