Skip to content

Merge pull request #91 from catholichak2024/fix/#90_mypage-token #45

Merge pull request #91 from catholichak2024/fix/#90_mypage-token

Merge pull request #91 from catholichak2024/fix/#90_mypage-token #45

Workflow file for this run

name: deploy-dev
on:
push:
branches:
- dev
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure SSH
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
port: ${{ secrets.EC2_PORT }}
script: |
cd cathak_Backend
git pull origin dev
pm2 kill
pnpm install
pm2 start src/index.js