Skip to content

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- deploy-test
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Build React monorepo
run: npm run build --prefix packages/react
- name: Build UI-elements monorepo
run: npm run build --prefix packages/ui-elements
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
BRANCH: gh-pages
FOLDER: build