Skip to content

Make crosspost message attachment cache limit to 100 entries in 'anti… #61

Make crosspost message attachment cache limit to 100 entries in 'anti…

Make crosspost message attachment cache limit to 100 entries in 'anti… #61

Workflow file for this run

name: Deploy to VPS
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to VPS
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy to VPS
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.VPS_SSH_PRIVATE_KEY }}
REMOTE_HOST: ${{ secrets.VPS_HOST }}
REMOTE_USER: ${{ secrets.VPS_USER }}
TARGET: ${{ secrets.VPS_TARGET }}
SCRIPT_AFTER: |
cp ~/config.py config.py
cp ~/.env .env
docker compose stop
docker compose rm -f
sleep 60
docker compose build --no-cache
docker compose up -d
docker image prune -af