Skip to content

Commit

Permalink
updating Commit HEAD in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmdksh committed Dec 11, 2024
1 parent d3c394b commit 586747c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main-deploy-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-publish-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging-deploy-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 586747c

Please sign in to comment.