Skip to content

Merge pull request #6 from rohit-zip/main #46

Merge pull request #6 from rohit-zip/main

Merge pull request #6 from rohit-zip/main #46

Workflow file for this run

name: Bloggios Web UI devsandbox
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Deploy using ssh
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.V4_HOST }}
username: ${{ secrets.V4_USERNAME }}
key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
port: 22
script: |
cd /root/bloggios-web-ui
git pull
npm cache clean --force
npm install
npm run build
pm2 restart devsandbox.config.js