03f7f9a8430dacfa381d1531fd7c571857335a48
.drone.yml
... | ... | @@ -0,0 +1,18 @@ |
1 | +kind: pipeline |
|
2 | +type: docker |
|
3 | + |
|
4 | +trigger: |
|
5 | + branch: |
|
6 | + - master |
|
7 | + |
|
8 | +steps: |
|
9 | + - name: build |
|
10 | + image: famfo/wiki-ng-sync |
|
11 | + commands: |
|
12 | + - bash /scripts/sync.sh |
|
13 | + environment: |
|
14 | + # Gitea access token with repository read |
|
15 | + # and write pemissions to wiki and wiki-ng |
|
16 | + API_TOKEN: |
|
17 | + from_secret: API_KEY |
|
18 | + |