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

View File

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