From 586747c9d79a3c3b2707d23ebe66483cef57b28d Mon Sep 17 00:00:00 2001 From: mhmdksh Date: Wed, 11 Dec 2024 15:43:57 +0400 Subject: [PATCH] updating Commit HEAD in CI --- .github/workflows/main-deploy-only.yml | 2 +- .github/workflows/main-pipeline.yml | 2 +- .github/workflows/main-publish-deploy.yml | 2 +- .github/workflows/staging-deploy-only.yml | 2 +- .github/workflows/staging-pipeline.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main-deploy-only.yml b/.github/workflows/main-deploy-only.yml index 5e344db4d..ff3b626e0 100644 --- a/.github/workflows/main-deploy-only.yml +++ b/.github/workflows/main-deploy-only.yml @@ -16,7 +16,7 @@ jobs: port: ${{ secrets.SSH_PORT }} script: | cd QAcc-BE - git reset --hard HEAD~1 + git reset --hard origin/main git checkout main git pull origin main docker image prune -a --force diff --git a/.github/workflows/main-pipeline.yml b/.github/workflows/main-pipeline.yml index 2eae7af12..164089724 100644 --- a/.github/workflows/main-pipeline.yml +++ b/.github/workflows/main-pipeline.yml @@ -158,7 +158,7 @@ jobs: port: ${{ secrets.SSH_PORT }} script: | cd QAcc-BE - git reset --hard HEAD~1 + git reset --hard origin/main git checkout main git pull origin main docker image prune -a --force diff --git a/.github/workflows/main-publish-deploy.yml b/.github/workflows/main-publish-deploy.yml index cfda9ad63..a82556cfd 100644 --- a/.github/workflows/main-publish-deploy.yml +++ b/.github/workflows/main-publish-deploy.yml @@ -63,7 +63,7 @@ jobs: port: ${{ secrets.SSH_PORT }} script: | cd QAcc-BE - git reset --hard HEAD~1 + git reset --hard origin/main git checkout main git pull origin main docker image prune -a --force diff --git a/.github/workflows/staging-deploy-only.yml b/.github/workflows/staging-deploy-only.yml index 4f781712f..b7166465c 100644 --- a/.github/workflows/staging-deploy-only.yml +++ b/.github/workflows/staging-deploy-only.yml @@ -16,7 +16,7 @@ jobs: port: ${{ secrets.SSH_PORT }} script: | cd QAcc-BE - git reset --hard HEAD~1 + git reset --hard origin/staging git checkout staging git pull origin staging docker image prune -a --force diff --git a/.github/workflows/staging-pipeline.yml b/.github/workflows/staging-pipeline.yml index 29108aed5..f5ed50377 100644 --- a/.github/workflows/staging-pipeline.yml +++ b/.github/workflows/staging-pipeline.yml @@ -158,7 +158,7 @@ jobs: port: ${{ secrets.SSH_PORT }} script: | cd QAcc-BE - git reset --hard HEAD~1 + git reset --hard origin/staging git checkout staging git pull origin staging docker image prune -a --force