Skip to content

chore: update docs

chore: update docs #39

Workflow file for this run

name: Client CI
on:
push:
paths:
- ".github/workflows/client-ci.yml"
- "client/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Deploy
uses: garygrossgarten/github-action-ssh@release
with:
command: |
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
cd /var/www/torrent-streaming
git reset --hard
git pull
npm --prefix client install
npm --prefix client run build
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
privateKey: ${{ secrets.PRIVATE_KEY }}