mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-02 02:03:20 -05:00
troubleshoot deploy-demo workflow
This commit is contained in:
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
|
||||||
Reference in New Issue
Block a user