Skip to content

πŸ› ::μ›Œν¬ν”Œλ‘œμš° 버그 μ†Œλ©Έμ‹œν‚€κΈ° #4

πŸ› ::μ›Œν¬ν”Œλ‘œμš° 버그 μ†Œλ©Έμ‹œν‚€κΈ°

πŸ› ::μ›Œν¬ν”Œλ‘œμš° 버그 μ†Œλ©Έμ‹œν‚€κΈ° #4

Workflow file for this run

name: Deploy Aws
on:
push:
branches:
- master
jobs:
deploy_aws:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: excuting remote ssh commands
uses: appleboy/[email protected]
with:
host: ${{ secrets.REMOTE_IP }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.REMOTE_PRIVATE_KEY }}
port: ${{ secrets.REMOTE_SSH_PORT }}
script: |
cd /home/ubuntu/salt-bot
pm2 kill
npm i --force
npm run build
pm2 start dist/index.js