0
0
mirror of https://github.com/thegeeklab/wp-git-action.git synced 2024-11-21 13:50:39 +00:00

ci: use git-action plugin to update docs branch (#9)

This commit is contained in:
Robert Kaussow 2022-12-03 13:43:09 +01:00 committed by GitHub
parent 2160d9ac22
commit 6fa2f5060b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 10 deletions

View File

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

View File

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