mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
Add execution permissions for script. (#815)
Add execution permissions for script. Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/815 Reviewed-by: M M Arif <mmarif@noreply.codeberg.org> Co-Authored-By: opyale <opyale@noreply.codeberg.org> Co-Committed-By: opyale <opyale@noreply.codeberg.org>
This commit is contained in:
parent
2398995928
commit
3c381f372e
@ -4,7 +4,7 @@ stages:
|
||||
- publish
|
||||
|
||||
on_setup:
|
||||
image: nextcloudci/android:android-54
|
||||
image: tutum/curl
|
||||
stage: .pre
|
||||
only:
|
||||
- master
|
||||
@ -14,7 +14,7 @@ on_setup:
|
||||
MAIN_REPO: gitnex/GitNex
|
||||
STATE: pending
|
||||
script:
|
||||
- ./scripts/add_commit_status.sh
|
||||
- ./scripts/add-commit-status.sh
|
||||
|
||||
build:
|
||||
image: nextcloudci/android:android-54
|
||||
@ -72,7 +72,7 @@ release:
|
||||
- curl -T "$PLUGIN_FILE" -u "$WEBDAV_USERNAME":"$WEBDAV_PASSWORD" 'https://cloud.swatian.com/remote.php/dav/files/GitNexBot/gitnex/releases/'"$CI_COMMIT_REF_NAME"'.apk'
|
||||
|
||||
on_success:
|
||||
image: nextcloudci/android:android-54
|
||||
image: tutum/curl
|
||||
stage: .post
|
||||
only:
|
||||
- master
|
||||
@ -82,11 +82,11 @@ on_success:
|
||||
MAIN_REPO: gitnex/GitNex
|
||||
STATE: success
|
||||
script:
|
||||
- ./scripts/add_commit_status.sh
|
||||
- ./scripts/add-commit-status.sh
|
||||
when: on_success
|
||||
|
||||
on_failure:
|
||||
image: nextcloudci/android:android-54
|
||||
image: tutum/curl
|
||||
stage: .post
|
||||
only:
|
||||
- master
|
||||
@ -96,5 +96,5 @@ on_failure:
|
||||
MAIN_REPO: gitnex/GitNex
|
||||
STATE: failure
|
||||
script:
|
||||
- ./scripts/add_commit_status.sh
|
||||
- ./scripts/add-commit-status.sh
|
||||
when: on_failure
|
||||
|
0
scripts/add_commit_status.sh → scripts/add-commit-status.sh
Normal file → Executable file
0
scripts/add_commit_status.sh → scripts/add-commit-status.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user