Files
eg-qna/.gitea/workflows/deploy.yml
Lectom C Han dd89e5fc90
Some checks failed
Deploy to Production / Deploy (push) Failing after 4s
svelt kit test
2025-07-25 14:43:32 +09:00

25 lines
527 B
YAML

# .gitea/workflows/deploy.yml
name: Deploy to Production
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Deploy to server
uses: appleboy/ssh-action@v1.0.3
with:
host: 172.16.10.175
username: user # 'user' 대신 실제 서버 접속 아이디를 입력하세요.
key: ${{ secrets.SELF_PRIVATE_175_KEY }}
script: |
cd /home/user/services/conRec
git pull
docker compose restart