1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-05 21:45:25 +02:00

troubleshoot deploy-demo workflow

This commit is contained in:
Hayden 2022-09-11 10:05:50 -08:00
parent c3459d540b
commit 24cf21677c
2 changed files with 28 additions and 1 deletions

View file

@ -3,7 +3,7 @@ name: Docker Nightly Production
on:
push:
branches:
- mealie-next
- never
jobs:
backend-tests:

27
.github/workflows/scratch.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Docker Nightly Production
on:
push:
branches:
- mealie-next
jobs:
deploy-demo:
runs-on: ubuntu-latest
name: Deploy Demo
needs:
- build-release
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