From e5b5dabf2ff2350a026186a27d156d463984451f Mon Sep 17 00:00:00 2001 From: Kieran Date: Mon, 15 May 2023 10:29:55 +0100 Subject: [PATCH] chore: update drone.yml --- .drone.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index fef34972..bd250d7c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,13 +15,19 @@ steps: - crowdin pull -b main -T $TOKEN - name: Push changes image: node:current-bullseye + environment: + TOKEN: + from_secret: drone_gitea commands: - yarn install - yarn workspace @snort/app format - apt update && apt install git -y - - git switch lang + - git config --local user.email drone@v0l.io + - git config --local user.name "Drone CI" + - git remote set-url origin https://$TOKEN@git.v0l.io/Kieran/snort.git + - git switch -c lang - git commit -a -m "Update translations" - - git push --force + - git push --- kind: pipeline type: kubernetes