Skip to content

틀린 문제 기반 오답 저장소로 불러오기 #18

틀린 문제 기반 오답 저장소로 불러오기

틀린 문제 기반 오답 저장소로 불러오기 #18

Workflow file for this run

name: deploy-spring-server
on:
push:
branches: master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy spring MainServer(master)
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_KEY }}
script: |
cd ~/Desktop/ChaeDa_spring
git fetch origin master
git merge origin/master
./gradlew build
docker rm desktop_back_1 --force
docker rmi desktop_back
cd ..
docker-compose up -d