Skip to content

Merge pull request #199 from pistachiostudio/vl-new-season #94

Merge pull request #199 from pistachiostudio/vl-new-season

Merge pull request #199 from pistachiostudio/vl-new-season #94

Workflow file for this run

name: takohachi deploy
on:
push:
branches:
- main
paths-ignore:
- 'images/**'
- 'scripts/**'
- '**.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: SSH Remote Commands
uses: appleboy/[email protected]
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USER }}
port: ${{ secrets.DEPLOY_PORT }}
key: ${{ secrets.DEPLOY_KEY }}
script: |
cd ${{ secrets.DEPLOY_DIR }}
sudo git pull origin main
sudo docker compose up -d --build --force-recreate
sudo docker image prune -a -f