From f7755f1cff3194f22e2981dc7eb8ccf26b580c55 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 28 Apr 2025 15:46:20 -0700 Subject: [PATCH] add git pull to staging and produciton deploy workflows --- .github/workflows/production-deploy.yml | 4 +++- .github/workflows/staging-deploy.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/production-deploy.yml b/.github/workflows/production-deploy.yml index 18bc9d0be..6956f5caa 100644 --- a/.github/workflows/production-deploy.yml +++ b/.github/workflows/production-deploy.yml @@ -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 diff --git a/.github/workflows/staging-deploy.yml b/.github/workflows/staging-deploy.yml index 2e767e8d9..34fa243c6 100644 --- a/.github/workflows/staging-deploy.yml +++ b/.github/workflows/staging-deploy.yml @@ -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