mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-06 14:05:21 +02:00
troubleshoot deploy-demo workflow
This commit is contained in:
parent
c3459d540b
commit
24cf21677c
2 changed files with 28 additions and 1 deletions
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
|
@ -3,7 +3,7 @@ name: Docker Nightly Production
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- mealie-next
|
- never
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
backend-tests:
|
backend-tests:
|
||||||
|
|
27
.github/workflows/scratch.yml
vendored
Normal file
27
.github/workflows/scratch.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue