Skip to content

Merge pull request #917 from mainmatter/step3-fix-deploy-flow #350

Merge pull request #917 from mainmatter/step3-fix-deploy-flow

Merge pull request #917 from mainmatter/step3-fix-deploy-flow #350

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
- main
env:
PNPM_VERSION: 8.15.1
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: ${{ env.PNPM_VERSION }}
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: pnpm
- name: Install and Build 🔧
run: |
pnpm install
pnpm build:test-app
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: packages/test-app/dist