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