From 0b7a1fa1ed018e8027dea1e69b44457be374f075 Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Thu, 22 Sep 2022 15:39:53 +0200 Subject: [PATCH] Initial DroneCI + Upstream Sync --- .drone.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100755 index 0000000000..ec4498d1b1 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,19 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: Sync Upstream + image: alpine:3.16.2 + environment: + USERNAME: + from_secret: dotya_username + TOKEN: + from_secret: dotya_token + commands: + - apk add guile git # Install dependencies + - git config --global --add safe.directory /drone/src # Stupid drone issue + - git checkout upstream + - git pull + - git remote add fork https://git.dotya.ml/kreyren/guix-kreyren.git + - git push "https://$USERNAME:$TOKEN@git.dotya.ml/kreyren/guix-kreyren.git" upstream