Skip to content

Update build-and-deploy.yml #4

Update build-and-deploy.yml

Update build-and-deploy.yml #4

name: Deploy to GitHub Pages
on:
push:
branches:
- master
- 'feature/github-action-deployment'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install and Build
run: |
npm install
npm run build
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build