Skip to content

Merge pull request #25 from gamandeepsingh/testing #41

Merge pull request #25 from gamandeepsingh/testing

Merge pull request #25 from gamandeepsingh/testing #41

Workflow file for this run

name: staging
on:
push:
branches:
- testing
jobs:
deploy:
name: Deploy staging
runs-on: ubuntu-latest
steps:
- name: Deploy
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
cd test
git pull
pm2 restart test