Skip to content

[DOCS] 수상 정보 기입 #76

[DOCS] 수상 정보 기입

[DOCS] 수상 정보 기입 #76

Workflow file for this run

name: Deploy to EC2
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up SSH agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.EC2_KEY }}
- name: Run deployment script on EC2
env:
EC2_HOST: ${{ secrets.EC2_HOST }}
run: |
ssh -o StrictHostKeyChecking=no ec2-user@${EC2_HOST} 'cd ~/AlongTheBlue_SERVER && ./start.sh'