File tree 1 file changed +30
-2
lines changed
1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change 4
4
# ##
5
5
# ## For documentation on drone, see: https://docs.drone.io/
6
6
# ## For documentation on drone docker pipelines in particular: https://docs.drone.io/pipeline/docker/overview/
7
-
8
7
kind : pipeline
9
8
type : docker
10
9
name : default
@@ -111,8 +110,37 @@ trigger:
111
110
- NyaaaWhatsUpDoc/gotosocial
112
111
- f0x52/gotosocial
113
112
113
+ ---
114
+ kind : pipeline
115
+ type : docker
116
+ name : cron
117
+
118
+ trigger :
119
+ event :
120
+ - cron
121
+ cron :
122
+ - nightly
123
+
124
+ clone :
125
+ disable : true
126
+
127
+ steps :
128
+ - name : mirror
129
+ image : alpine/git
130
+ environment :
131
+ CODEBERG_TOKEN :
132
+ from_secret : gts_codeberg_token
133
+ commands :
134
+ # configure git credentials
135
+ -
git config --global user.email "[email protected] "
136
+ - git config credential.helper store
137
+ - printf "https://gotosocialbot:${CODEBERG_TOKEN}@codeberg.org\n" >> ~/.git-credentials
138
+ # mirror and push
139
+ - git clone --mirror https://github.com/superseriousbusiness/gotosocial .
140
+ - git push --mirror https://codeberg.org/superseriousbusiness/gotosocial
141
+
114
142
---
115
143
kind : signature
116
- hmac : f6372893445074c19e33057cf2cb94ddc9b5c54108094f9bfd40aae7c501f87c
144
+ hmac : 56eb9e0f41199d44f2fc76b6d8265b9c4841ec2f5724852e7c116170d823d5a4
117
145
118
146
...
You can’t perform that action at this time.
0 commit comments