Skip to content

Merge pull request #47 from Geek-shreya/test #33

Merge pull request #47 from Geek-shreya/test

Merge pull request #47 from Geek-shreya/test #33

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