Skip to content

Merge pull request #24 from TripMingle/feat/SWM-271 #19

Merge pull request #24 from TripMingle/feat/SWM-271

Merge pull request #24 from TripMingle/feat/SWM-271 #19

Workflow file for this run

name: Deploy to Amazon EC2
# main에 push 될 때 실행
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to EC2
uses: appleboy/[email protected]
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USER }}
key: ${{ secrets.EC2_KEY }}
script: |
cd /home/${{ secrets.EC2_USER }}/Front-End
git pull
pnpm install
bash ./deploy.sh