Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

fix: 테스트 도중 뒤로가기 버튼 클릭시 score 초기화 되도록 수정 #23

fix: 테스트 도중 뒤로가기 버튼 클릭시 score 초기화 되도록 수정

fix: 테스트 도중 뒤로가기 버튼 클릭시 score 초기화 되도록 수정 #23

Workflow file for this run

on:
pull_request:
branches: [release]
types: [closed]
jobs:
build:
if: ${{ github.event.pull_request.merged }}
name: Deploy on stocodi.com
runs-on: ubuntu-latest
# 경고 무시
env:
CI: false
steps:
- name: checkout
uses: actions/checkout@v1
- name: deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.DEPLOY_SERVER_HOST }}
username: ${{ secrets.DEPLOY_SERVER_USERNAME }}
password: ${{ secrets.DEPLOY_SERVER_PASSWORD }}
port: ${{ secrets.DEPLOY_SERVER_PORT }}
script: |
cd stocodi-web
git checkout release
git pull origin release
chmod +x ./deploy.sh
echo ${{secrets.DEPLOY_SERVER_PASSWORD}} | sudo -S bash ./deploy.sh