Skip to content

Actions 정상 배포 테스트 #3

Actions 정상 배포 테스트

Actions 정상 배포 테스트 #3

Workflow file for this run

name: Deploy to Naver Cloud
on:
push:
branches: [ deploy ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to Server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd ~/Tabletopia
git pull origin develop
docker-compose down
docker-compose up -d --build