Initial DroneCI + Upstream Sync
This commit is contained in:
parent
31b035b6b1
commit
0b7a1fa1ed
19
.drone.yml
Executable file
19
.drone.yml
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user