Skip to content

feature/aside-news-section-added #59

feature/aside-news-section-added

feature/aside-news-section-added #59

Workflow file for this run

name: bloggios-web-ui
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Bloggios Prebuild
run: npm run bloggios-prebuild
- name: Deploy using ssh
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.V8_HOST }}
username: ${{ secrets.V8_USERNAME }}
key: ${{ secrets.V8_VPS_PRIVATE_KEY }}
port: 22
script: |
cd /root/bloggios-web-ui
git stash
git pull
npm cache clean --force
npm install
npm run build
pm2 restart app.config.js