Skip to content

Merge pull request #235 from pistachiostudio/d-uid-column #115

Merge pull request #235 from pistachiostudio/d-uid-column

Merge pull request #235 from pistachiostudio/d-uid-column #115

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 system prune -a -f