ci: add self-hosted runner deploy workflow
Some checks are pending
Build and Deploy / build-and-deploy (push) Waiting to run

This commit is contained in:
hyoseung930 2026-05-14 13:40:06 +09:00
parent 79983cd624
commit 42e4f0b8f1

View File

@ -0,0 +1,26 @@
name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy
run: |
rm -rf /home/hyoseung/english/front/dist
cp -r dist/ /home/hyoseung/english/front/dist/
echo "Frontend deployed successfully"