Skip to content

Add development deployment pipeline #1

Add development deployment pipeline

Add development deployment pipeline #1

Workflow file for this run

name: Deploy to development environment
on:
push:
branches: [ nih-2024 ]
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Deploy, build and run
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: root
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: git pull && kill $(ps -ef | grep "/root/.nvm/versions/node/v16.13.1/bin/node /root/reveal-web/node_modules/react-scripts/scripts/start.js" | grep -v "grep" | awk '{print $2}') && npm i && nohup npm start &