Video: complete draft - null null (#2250) #284
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: Deploy GitHub Pages | |
on: | |
push: | |
branches: [main] | |
jobs: | |
release: | |
name: Deploy Docs App | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.SEMANTIC_RELEASE_GH }} | |
persist-credentials: false | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
cache: npm | |
- name: Install dependencies | |
run: npx ci | |
- name: Build story book artifacts | |
env: | |
NODE_OPTIONS: --max-old-space-size=4096 | |
run: npx nx run components:build-storybook | |
- name: Deploy docs and storybook to GitHub pages | |
env: | |
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GH }} | |
run: npm run ghpages:deploy |