Skip to content

Create deploy.yml

Create deploy.yml #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ main ] # adjust this to your main branch name
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install and Build
run: |
cd client
npm ci
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: client/build