Skip to content

Add test router to unauthenticated routes #3

Add test router to unauthenticated routes

Add test router to unauthenticated routes #3

Workflow file for this run

name: Deploy to EC2
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to EC2
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.EC2_HOST }}
username: ${{ secrets.EC2_USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
script: |
cd ~/TS-Backend-Production-Setup
git pull origin main
npm install
npm run dist
pm2 restart backend