From a46610f828e1c009334220470d8f927b6b2cad64 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Sat, 20 May 2023 13:22:20 +0200 Subject: [PATCH] Add git credentials --- .drone.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index b35096e..c49d949 100644 --- a/.drone.yml +++ b/.drone.yml @@ -46,10 +46,17 @@ steps: ca-certificates - | npm install semantic-release + - | + export GIT_CREDENTIALS=${GIT_USERNAME}:${GIT_APIKEY} - | npx semantic-release \ - --branches ${DRONE_BRANCH} + --branches ${DRONE_BRANCH} \ + --repository-url --dry-run + environment: + GIT_APIKEY: + from_secret: git_apikey + GIT_USERNAME: djpbessems # - name: Install Ansible Galaxy collections # depends_on: