Skip to content

feat: update role for Sumit Kumar to include CTO #14

feat: update role for Sumit Kumar to include CTO

feat: update role for Sumit Kumar to include CTO #14

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