try to fix docs deployment
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Robert Kaussow 2020-01-21 00:37:12 +01:00
parent 2bf3fd1797
commit b394c47bdb
2 changed files with 13 additions and 7 deletions

View File

@ -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',
},

View File

@ -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
...