diff --git a/.github/workflows/production_deployment.yml b/.github/workflows/production_deployment.yml index 394d6328..31fe6604 100644 --- a/.github/workflows/production_deployment.yml +++ b/.github/workflows/production_deployment.yml @@ -47,6 +47,7 @@ jobs: git add . git commit -m "Update netsuite-api image tag" git remote set-url origin https://x-access-token:${{ secrets.DEPLOY_GIT_ACCESS_TOKEN }}@github.com/${{ secrets.PROD_DEPLOY_REPO }} + git pull origin master git push origin master - name: Create new Sentry release env: diff --git a/.github/workflows/staging_deployment.yml b/.github/workflows/staging_deployment.yml index ebcccdaf..83bb2fdc 100644 --- a/.github/workflows/staging_deployment.yml +++ b/.github/workflows/staging_deployment.yml @@ -51,6 +51,7 @@ jobs: git add . git commit -m "Update netsuite-api image tag" git remote set-url origin https://x-access-token:${{ secrets.DEPLOY_GIT_ACCESS_TOKEN }}@github.com/${{ secrets.STAGING_DEPLOY_REPO }} + git pull origin master git push origin master - name: Create new Sentry release