Skip to content

Deploy: PR 생성시 테스트코드 수행 로직 구현 (#94) #15

Deploy: PR 생성시 테스트코드 수행 로직 구현 (#94)

Deploy: PR 생성시 테스트코드 수행 로직 구현 (#94) #15

Workflow file for this run

name: Deploy
on:
push:
branches:
- Weekly
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up SSH
uses: webfactory/ssh-agent@v0.5.3
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Run deployment script on server
run: |
ssh -o StrictHostKeyChecking=no ubuntu@${{ secrets.SERVER_IP }} 'bash /home/ubuntu/deploy.sh'