Skip to content

fix(streamer): fix the bug of redis publishing, we should first start… #2

fix(streamer): fix the bug of redis publishing, we should first start…

fix(streamer): fix the bug of redis publishing, we should first start… #2

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Deploy & Build
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USER }}
password: ${{ secrets.SERVER_PASSWORD }}
port: 22
script: | # cd SomeUiRepo directly cause we're already in root
if [ ! -d "/root/ui" ]; then
git clone https://wildonion:${{ secrets.ACCESS_TOKEN }}@github.com/wildonion/SomeUiRepo.git
fi
cd SomeUiRepo
git pull origin main
npm install
npm run build