Skip to content

Commit

Permalink
feat: gh-page workflow 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
anjm1020 authored Aug 10, 2024
1 parent df12a50 commit fbd73d5
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- jaemin

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

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Install dependencies
run: npm install

- name: Build the project
run: npm run build

- name: Deploy to GitHub Pages
run: |
npm install -g gh-pages
gh-pages -d build

0 comments on commit fbd73d5

Please sign in to comment.