This commit is contained in:
1 parent
9916b18bbd
commit
422ddb173c
1 file changed
+4
-17
@@ -8,24 +8,11 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: linux-arm64
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Deploy on Host
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
|
|
||||||
- name: Build Frontend (Vue 3 + Vuetify)
|
|
||||||
run: |
|
run: |
|
||||||
cd frontend
|
echo "Deploying on host..."
|
||||||
npm install
|
|
||||||
npm run build
|
|
||||||
|
|
||||||
- name: Deploy with Docker Compose
|
|
||||||
run: |
|
|
||||||
# act_runner에 마운트된 docker.sock을 통해 호스트의 컨테이너를 무중단 재빌드 및 재시작
|
|
||||||
docker compose up -d --build
|
docker compose up -d --build
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user