mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-12 20:40:37 +00:00
Merge pull request 'Fix CI script for WP v3' (#15) from fixes into main
Reviewed-on: https://codeberg.org/gitnex/tea4j-autodeploy/pulls/15
This commit is contained in:
+16
-12
@@ -62,18 +62,22 @@ steps:
|
||||
publish:
|
||||
image: alpine/git
|
||||
environment:
|
||||
# Information that should be used when authoring a commit
|
||||
- GIT_AUTHOR_NAME=gitnexbot
|
||||
- GIT_AUTHOR_EMAIL=gitnexbot@noreply.codeberg.org
|
||||
- GIT_COMMIT_MESSAGE=Synchronizing API and documentation updates
|
||||
# Basic information concerning the repo that
|
||||
- GITEA_HOST=codeberg.org
|
||||
- GITEA_REPOSITORY=gitnex/tea4j-autodeploy
|
||||
- GITEA_BRANCH=main
|
||||
# Username and token that should be used to authenticate against the gitea instance
|
||||
# - GITEA_USERNAME=secret
|
||||
# - GITEA_TOKEN=secret
|
||||
secrets: [ gitea_username, gitea_token ]
|
||||
GIT_AUTHOR_NAME:
|
||||
from_secret: GIT_AUTHOR_NAME
|
||||
GIT_AUTHOR_EMAIL:
|
||||
from_secret: GIT_AUTHOR_EMAIL
|
||||
GIT_COMMIT_MESSAGE:
|
||||
from_secret: GIT_COMMIT_MESSAGE
|
||||
GITEA_HOST:
|
||||
from_secret: GITEA_HOST
|
||||
GITEA_REPOSITORY:
|
||||
from_secret: GITEA_REPOSITORY
|
||||
GITEA_BRANCH:
|
||||
from_secret: GITEA_BRANCH
|
||||
gitea_username:
|
||||
from_secret: gitea_username
|
||||
gitea_token:
|
||||
from_secret: gitea_token
|
||||
commands:
|
||||
# Setup git credentials and checkout target branch
|
||||
- git config user.name "$${GIT_AUTHOR_NAME}"
|
||||
|
||||
Reference in New Issue
Block a user