update workflows

This commit is contained in:
Alex Holliday committed 2026-04-17 11:25:53 -07:00
1 parent 6152144807
commit 999dfb13b9
2 files changed
+8 -7

No files matched your search

+3 -2
View File
@@ -2,7 +2,7 @@ name: Demo deploy
on: on:
push: push:
branches: ["demo"] branches: [ "demo" ]
workflow_dispatch: workflow_dispatch:
jobs: jobs:
docker-build-and-push-client: docker-build-and-push-client:
@@ -84,7 +84,8 @@ jobs:
script: | script: |
cd checkmate cd checkmate
git pull git pull
cd docker/prod cd docker/unified
docker compose down docker compose down
docker compose pull docker compose pull
docker compose up -d docker compose up -d
docker system prune -af
+5 -5
View File
@@ -2,7 +2,7 @@ name: Staging deploy
on: on:
push: push:
branches: ["develop"] branches: [ "develop" ]
jobs: jobs:
docker-build-and-push-client: docker-build-and-push-client:
@@ -78,13 +78,13 @@ jobs:
- name: SSH into server and restart container using Docker Compose - name: SSH into server and restart container using Docker Compose
uses: appleboy/ssh-action@v1.2.2 uses: appleboy/ssh-action@v1.2.2
with: with:
host: ${{ secrets.STAGING_SERVER_HOST }} host: ${{ secrets.DEMO_SERVER_HOST }}
username: ${{ secrets.STAGING_SERVER_USER }} username: ${{ secrets.DEMO_SERVER_USER }}
key: ${{ secrets.STAGING_SERVER_SSH_KEY }} key: ${{ secrets.DEMO_SERVER_SSH_KEY }}
script: | script: |
cd checkmate cd checkmate
git pull git pull
cd docker/staging cd docker/unified
docker compose down docker compose down
docker compose pull docker compose pull
docker compose up -d docker compose up -d