Skip to content

Merge branch 'main' of https://github.com/knu-hackathons-team/OTT-Rec… #55

Merge branch 'main' of https://github.com/knu-hackathons-team/OTT-Rec…

Merge branch 'main' of https://github.com/knu-hackathons-team/OTT-Rec… #55

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Run deployment script on server
run: |
ssh -o StrictHostKeyChecking=no jiho99322@${{ secrets.SERVER_IP }} bash /home/jiho99322/deploy.sh