Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jackcruz53 committed Feb 24, 2025
1 parent 966cc8d commit 9118ccd
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,29 @@ name: Deploy to GitHub Pages

on:
push:
branches: [ main ]
branches:
- main

jobs:
build-and-deploy:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Checkout code
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit 9118ccd

Please sign in to comment.