Skip to content

fix :: deploy token 추가 #24

fix :: deploy token 추가

fix :: deploy token 추가 #24

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: yarn install
- name: Build project
run: yarn run build
- name: Set up Git user
run: |
git config user.name "${{ secrets.GIT_USER }}"
git config user.email "${{ secrets.GIT_EMAIL }}"
- name: Deploy to GitHub Pages
run: yarn run deploy
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}