Skip to content

Merge pull request #1 from hollow-leaf/feat/deployActions #1

Merge pull request #1 from hollow-leaf/feat/deployActions

Merge pull request #1 from hollow-leaf/feat/deployActions #1

Workflow file for this run

name: Frontend deploy
on:
push:
branches:
- main # The branch the action should deploy from.
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: '16.x'
- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false
- name: Install dependencies
run: pnpm install
- name: Build my App
run: pnpm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: apps/web/out # The folder the action should deploy.