Skip to content

fix: add git config

fix: add git config #3

Workflow file for this run

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
- run: |
git config --global user.name ${{ secrets.GIT_USERNAME }}
git config --global user.name ${{ secrets.GIT_USERMAIL }}
- 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 dist