Initial DroneCI + Upstream Sync
This commit is contained in:
parent
31b035b6b1
commit
e5365cb96d
18
.drone.yml
Executable file
18
.drone.yml
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
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 push "https://$USERNAME:$TOKEN@git.dotya.ml/kreyren/guix-kreyren.git" upstream
|
Loading…
Reference in New Issue
Block a user