Skip to content

feat: update roles for Neeraj Godiyal and Sumit Kumar for consistency #15

feat: update roles for Neeraj Godiyal and Sumit Kumar for consistency

feat: update roles for Neeraj Godiyal and Sumit Kumar for consistency #15

Workflow file for this run

name: Deployment
on:
push:
branches: main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: SSH Deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
cd gamying.online/
git pull
npm install
npm run build
pm2 restart gamying-online