From dd02b3202fa4e4309ad193c657b94fd89dec28f7 Mon Sep 17 00:00:00 2001 From: itzaname Date: Sat, 23 Jul 2022 02:41:17 -0400 Subject: [PATCH] Use env --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3ca0d7d..263b44e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,7 +7,7 @@ steps: - name: clone-external image: alpine/git commands: - - git clone 'https://${GIT_USER}:${GIT_PASS}@git.itzana.me/StrafesNET/go-grpc.git' + - git clone https://${GIT_USER}:${GIT_PASS}@git.itzana.me/StrafesNET/go-grpc.git environment: GIT_USER: from_secret: GIT_USER @@ -25,7 +25,7 @@ steps: - cd go-grpc - git add * - 'git commit -m "Autogenerated update for ${DRONE_COMMIT_LINK}" || true' - - git push 'https://${GIT_USER}:${GIT_PASS}@git.itzana.me/StrafesNET/go-grpc.git' --all + - git push https://$GIT_USER:$GIT_PASS@git.itzana.me/StrafesNET/go-grpc.git --all environment: GIT_USER: from_secret: GIT_USER @@ -47,7 +47,7 @@ steps: - name: clone-external image: alpine/git commands: - - git clone 'https://${GIT_USER}:${GIT_PASS}@git.itzana.me/StrafesNET/python-grpc.git' + - git clone https://$GIT_USER:$GIT_PASS@git.itzana.me/StrafesNET/python-grpc.git environment: GIT_USER: from_secret: GIT_USER @@ -65,7 +65,7 @@ steps: - cd python-grpc - git add * - 'git commit -m "Autogenerated update for ${DRONE_COMMIT_LINK}" || true' - - git push 'https://${GIT_USER}:${GIT_PASS}@git.itzana.me/StrafesNET/python-grpc.git' --all + - git push https://$GIT_USER:$GIT_PASS@git.itzana.me/StrafesNET/python-grpc.git --all environment: GIT_USER: from_secret: GIT_USER