Changed deploy repo branch
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Marcin-Ramotowski
2025-07-27 10:58:58 +02:00
parent 78613948f5
commit 156c475b82

View File

@ -33,7 +33,8 @@ steps:
- name: gitops-commit - name: gitops-commit
image: alpine/git image: alpine/git
environment: environment:
DEPLOY_REPO: ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git DEPLOY_REPO_URL: ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git
DEPLOY_REPO_BRANCH: woodpecker-argocd-deploy
GITEA_DEPLOY_KEY: GITEA_DEPLOY_KEY:
from_secret: gitea-deploy-key from_secret: gitea-deploy-key
GITEA_KNOWN_HOST: GITEA_KNOWN_HOST:
@ -50,7 +51,7 @@ steps:
- git config --global user.name "woodpecker[bot]" - git config --global user.name "woodpecker[bot]"
- git config --global user.email "woodpecker@marcin00.pl" - git config --global user.email "woodpecker@marcin00.pl"
- git clone $DEPLOY_REPO --branch woodpecker-deploy - git clone $DEPLOY_REPO_URL --branch $DEPLOY_REPO_BRANCH
- cd user-microservice-deploy - cd user-microservice-deploy
- | - |
@ -67,4 +68,4 @@ steps:
- git add deploy.yaml - git add deploy.yaml
- 'git diff-index --quiet HEAD || git commit -m "WOODPECKER: Changed deployed version to $CI_COMMIT_SHA"' - 'git diff-index --quiet HEAD || git commit -m "WOODPECKER: Changed deployed version to $CI_COMMIT_SHA"'
- git push origin woodpecker-deploy - git push origin $DEPLOY_REPO_BRANCH