Skip to content

another test

another test #34

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
key: ${{ secrets.SSH_KEY }}
username: ${{ secrets.SSH_USERNAME }}
script_stop: true
script: |
cd www/betterdo-api
git checkout .
git pull
npm install --production=false
npm run build
pm2 restart betterdo