mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 20:38:52 +00:00
9 lines
400 B
Bash
Executable file
9 lines
400 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
last_commit=$(cat build/logs/last_commit)
|
|
|
|
status=$1
|
|
description=$2
|
|
step=$3
|
|
|
|
curl -H "Authorization: token ${GITHUB_TOKEN}" --request POST --data '{"state": "'${status}'", "description": "'${description}'", "target_url": "'${BUILD_RESULT_URL}'", "context": "phpBB continuous integration - '${step}'"}' https://api.github.com/repos/phpbb/phpbb/statuses/${last_commit} > /dev/null
|