From b394c47bdb2a44eac21091ce702626adf696b9df Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 21 Jan 2020 00:37:12 +0100 Subject: [PATCH] try to fix docs deployment --- .drone.jsonnet | 7 +++++-- .drone.yml | 13 ++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index e6b5205..37a22c6 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -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', }, diff --git a/.drone.yml b/.drone.yml index 08e4bb1..5d599c6 100644 --- a/.drone.yml +++ b/.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 ...