Skip to content

Merge pull request #58 from gamandeepsingh/test #39

Merge pull request #58 from gamandeepsingh/test

Merge pull request #58 from gamandeepsingh/test #39

Workflow file for this run

name: test pipeline
on:
push:
branches: [ "test" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Executing remote ssh commands using ssh key
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST_DNS }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
script: |
cd test
git pull
npm i --legacy-peer-deps
npm run build
pm2 restart test