Skip to content

update episode page to get streaming source diretly form api #84

update episode page to get streaming source diretly form api

update episode page to get streaming source diretly form api #84

Workflow file for this run

name: Auto Deploy To VPS
on:
push:
branches: [ "main", "dev" ]
jobs:
deploy-main:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
environment: main
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Deploy to VPS using SSH for main
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
port: 22
username: ${{ secrets.USERNAME }}
passphrase: ${{ secrets.PASSPHRASE }}
key: ${{ secrets.PRIVATE_KEY }}
script: |
cd ~/.apps/zannime
git pull
git status
sudo docker compose -f docker-compose.yaml build
sudo docker compose -f docker-compose.yaml up -d
deploy-dev:
if: github.ref == 'refs/heads/dev'
runs-on: ubuntu-latest
environment: dev
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Deploy to VPS using SSH for dev
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
port: 22
username: ${{ secrets.USERNAME }}
passphrase: ${{ secrets.PASSPHRASE }}
key: ${{ secrets.PRIVATE_KEY }}
script: |
cd ~/.apps/zannime_dev
git pull
git status
sudo docker compose -f docker-compose-dev.yaml build
sudo docker compose -f docker-compose-dev.yaml up -d