diff --git a/.drone.jsonnet b/.drone.jsonnet index 896aa5d..04cc4d2 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -228,10 +228,15 @@ local PipelineDocs = { name: 'publish', image: 'plugins/gh-pages', settings: { - username: { from_secret: 'github_username' }, - password: { from_secret: 'github_token' }, - pages_directory: '_docs/', - target_branch: 'docs', + action: [ + 'pages', + ], + author_email: 'bot@thegeeklab.de', + author_name: 'thegeeklab-bot', + message: 'auto-update documentation', + branch: 'gh-pages', + pages_directory: 'docs/', + netrc_password: { from_secret: 'github_token' }, }, when: { ref: ['refs/heads/main'], diff --git a/.drone.yml b/.drone.yml index fd901f6..4e365c3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -343,12 +343,15 @@ steps: - name: publish image: plugins/gh-pages settings: - pages_directory: _docs/ - password: + action: + - pages + author_email: bot@thegeeklab.de + author_name: thegeeklab-bot + branch: gh-pages + message: auto-update documentation + netrc_password: from_secret: github_token - target_branch: docs - username: - from_secret: github_username + pages_directory: docs/ when: ref: - refs/heads/main @@ -457,6 +460,6 @@ depends_on: --- kind: signature -hmac: 7e8f9c0185f2416c4250a175458905fe516c706a9dd4b0d38c201b22bc5b1b3d +hmac: 89079eef07225acb12f8eeab92f29de04b4a46340ba265b6a9c9bfc6c75c18aa ...