Skip to content

Merge pull request #61 from blekmus/dependabot/npm_and_yarn/next-14.1.1 #24

Merge pull request #61 from blekmus/dependabot/npm_and_yarn/next-14.1.1

Merge pull request #61 from blekmus/dependabot/npm_and_yarn/next-14.1.1 #24

Workflow file for this run

name: Deploy App
on:
push:
branches: [master]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: SSH Exec
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
key: ${{ secrets.KEY }}
script: |
eval `ssh-agent -s`
ssh-add ~/.ssh/git_id_rsa
cd ${{ secrets.PATH}}
git pull
${{ secrets.NODE }}/npm install
${{ secrets.NODE }}/npm run build
${{ secrets.NODE }}/pm2 restart thelonelylands --silent