add git pull to staging and produciton deploy workflows

This commit is contained in:
Alex Holliday
2025-04-28 15:46:20 -07:00
parent ad4b545d56
commit f7755f1cff
2 changed files with 6 additions and 2 deletions

View File

@@ -87,7 +87,9 @@ jobs:
username: ${{ secrets.DEMO_SERVER_USER }}
key: ${{ secrets.DEMO_SERVER_SSH_KEY }}
script: |
cd checkmate/docker/prod
cd checkmate
git pull
cd docker/prod
docker compose down
docker compose pull
docker compose up -d

View File

@@ -87,7 +87,9 @@ jobs:
username: ${{ secrets.STAGING_SERVER_USER }}
key: ${{ secrets.STAGING_SERVER_SSH_KEY }}
script: |
cd checkmate/docker/staging
cd checkmate
git pull
cd docker/staging
docker compose down
docker compose pull
docker compose up -d