Skip to content

Merge pull request #27 from kookmin-sw/feature/#21-google-oauth #4

Merge pull request #27 from kookmin-sw/feature/#21-google-oauth

Merge pull request #27 from kookmin-sw/feature/#21-google-oauth #4

Workflow file for this run

name: Deploy to EC2
on:
push:
branches: [master]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy via SSH
uses: appleboy/ssh-action@v1.2.0
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USER }}
key: ${{ secrets.EC2_SSH_KEY }}
script: |
cd ${{ secrets.PROJECT_PATH }}
git pull origin master
docker compose up -d --build
docker image prune -f