Skip to content

chore: static page로 변경 #2

chore: static page로 변경

chore: static page로 변경 #2

name: GitHub-Page-Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm i
working-directory: ./client
- name: Build
run: npm run build
working-directory: ./client
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: ./client/out
fqdn: foodie.jagaldol.com
jekyll: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}