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