Skip to content

[react] 연습

[react] 연습 #15

Workflow file for this run

name: Deploy Test with Vite to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: npm install
working-directory: ./counter-app
- name: Build Vite project
run: npm run build
working-directory: ./counter-app
- name: Deploy Test to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./counter-app/dist