From 0eba106b8442cc78f58c4a1cea412d23d6ac3b84 Mon Sep 17 00:00:00 2001 From: RaviAnand Mohabir Date: Mon, 23 Jan 2023 23:33:17 +0100 Subject: [PATCH] ci: :construction_worker: add git config with username and token and push action --- .woodpecker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2204d23..a7069de 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,8 +4,9 @@ pipeline: commands: - git config --global user.email "moravrav@gmail.com" - git config --global user.name "RaviAnand Mohabir" + - git config --global url."https://$GIT_USERNAME:$GIT_TOKEN@gitea.ravianand.me/".insteadOf "https://gitea.ravianand.me/" - npm i -g standard-version - standard-version - - git tag + - git push origin $(git tag | tail -1) branches: main