mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-15 23:05:23 -05:00
26 lines
632 B
YAML
26 lines
632 B
YAML
name: Docker Nightly Production
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- mealie-next
|
|
|
|
jobs:
|
|
deploy-demo:
|
|
runs-on: ubuntu-latest
|
|
name: Deploy Demo
|
|
steps:
|
|
- name: Clean and Deploy Demo
|
|
uses: appleboy/ssh-action@master
|
|
with:
|
|
host: ${{ secrets.DEMO_SERVER_IP }}
|
|
username: ${{ secrets.DEMO_SERVER_USER }}
|
|
key: ${{ secrets.DEMO_SERVER_SSH_KEY }}
|
|
port: ${{ secrets.DEMO_SERVER_PORT }}
|
|
script_stop: true
|
|
script: |
|
|
cd ~/docker/mealie-next
|
|
docker-compose pull
|
|
docker-compose down -v
|
|
docker-compose up -d
|