Skip to content

chore: 도메인 이전 반영 #3

chore: 도메인 이전 반영

chore: 도메인 이전 반영 #3

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 }}