Skip to content

Update deploy.yml

Update deploy.yml #2

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 install
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to Github Pages
id: deployment
run: npm run deploy