This commit is contained in:
@ -33,7 +33,8 @@ steps:
|
||||
- name: gitops-commit
|
||||
image: alpine/git
|
||||
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:
|
||||
from_secret: gitea-deploy-key
|
||||
GITEA_KNOWN_HOST:
|
||||
@ -50,7 +51,7 @@ steps:
|
||||
- git config --global user.name "woodpecker[bot]"
|
||||
- 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
|
||||
|
||||
- |
|
||||
@ -67,4 +68,4 @@ steps:
|
||||
|
||||
- git add deploy.yaml
|
||||
- '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
|
||||
|
Reference in New Issue
Block a user