Skip to content

Create deploy.yml

Create deploy.yml #1

Workflow file for this run

name: Deploy to Github Pages
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Node.js
uses: actions/[email protected]
- name: Install dependencies
run: npm intall
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to Github Pages
id: deployment
run: npm run deploy