@@ -29,11 +29,10 @@ steps:
|
||||
- name: gitops-commit
|
||||
image: alpine/git
|
||||
environment:
|
||||
MY_VAR1: test-value
|
||||
MY_VAR1: ssh://[email protected]:20343/pikram/user-microservice-deploy.git
|
||||
commands:
|
||||
- mkdir -p ~/.ssh
|
||||
- git config --global user.name "woodpecker[bot]"
|
||||
- git config --global user.email "[email protected]"
|
||||
- echo $MY_VAR1
|
||||
- echo "Cloning from ${MY_VAR1}"
|
||||
- git clone ${MY_VAR1} --branch woodpecker-deploy
|
||||
- cd user-microservice-deploy
|
||||
|
||||
Reference in New Issue
Block a user