This commit is contained in:
parent
2bf3fd1797
commit
b394c47bdb
@ -79,8 +79,11 @@ local PipelineDocumentation = {
|
|||||||
name: 'publish',
|
name: 'publish',
|
||||||
image: 'plugins/gh-pages:latest',
|
image: 'plugins/gh-pages:latest',
|
||||||
settings: {
|
settings: {
|
||||||
username: { from_secret: 'gitea_username' },
|
commit_author_email: "shipper@rknet.org",
|
||||||
password: { from_secret: 'gitea_token' },
|
commit_author: "DroneShipper",
|
||||||
|
netrc_machine: "gitea.rknet.org",
|
||||||
|
netrc_username: { from_secret: 'gitea_username' },
|
||||||
|
netrc_password: { from_secret: 'gitea_token' },
|
||||||
pages_directory: '_docs/',
|
pages_directory: '_docs/',
|
||||||
target_branch: 'docs',
|
target_branch: 'docs',
|
||||||
},
|
},
|
||||||
|
13
.drone.yml
13
.drone.yml
@ -74,12 +74,15 @@ steps:
|
|||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/gh-pages:latest
|
image: plugins/gh-pages:latest
|
||||||
settings:
|
settings:
|
||||||
pages_directory: _docs/
|
commit_author: DroneShipper
|
||||||
password:
|
commit_author_email: shipper@rknet.org
|
||||||
|
netrc_machine: gitea.rknet.org
|
||||||
|
netrc_password:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
target_branch: docs
|
netrc_username:
|
||||||
username:
|
|
||||||
from_secret: gitea_username
|
from_secret: gitea_username
|
||||||
|
pages_directory: _docs/
|
||||||
|
target_branch: docs
|
||||||
when:
|
when:
|
||||||
ref:
|
ref:
|
||||||
- refs/heads/master
|
- refs/heads/master
|
||||||
@ -144,6 +147,6 @@ depends_on:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 143d7b91e1df263950f1633bf55ba977f9d1e70d7cc2b505e24fab6a3a1ff156
|
hmac: fc64c011f98a679f3369e1d3dc4b8c9e9c978e9924062f807dba9adbd408c980
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user