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
|
- publish
|
||||||
|
|
||||||
on_setup:
|
on_setup:
|
||||||
image: nextcloudci/android:android-54
|
image: tutum/curl
|
||||||
stage: .pre
|
stage: .pre
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
@ -14,7 +14,7 @@ on_setup:
|
|||||||
MAIN_REPO: gitnex/GitNex
|
MAIN_REPO: gitnex/GitNex
|
||||||
STATE: pending
|
STATE: pending
|
||||||
script:
|
script:
|
||||||
- ./scripts/add_commit_status.sh
|
- ./scripts/add-commit-status.sh
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: nextcloudci/android:android-54
|
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'
|
- 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:
|
on_success:
|
||||||
image: nextcloudci/android:android-54
|
image: tutum/curl
|
||||||
stage: .post
|
stage: .post
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
@ -82,11 +82,11 @@ on_success:
|
|||||||
MAIN_REPO: gitnex/GitNex
|
MAIN_REPO: gitnex/GitNex
|
||||||
STATE: success
|
STATE: success
|
||||||
script:
|
script:
|
||||||
- ./scripts/add_commit_status.sh
|
- ./scripts/add-commit-status.sh
|
||||||
when: on_success
|
when: on_success
|
||||||
|
|
||||||
on_failure:
|
on_failure:
|
||||||
image: nextcloudci/android:android-54
|
image: tutum/curl
|
||||||
stage: .post
|
stage: .post
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
@ -96,5 +96,5 @@ on_failure:
|
|||||||
MAIN_REPO: gitnex/GitNex
|
MAIN_REPO: gitnex/GitNex
|
||||||
STATE: failure
|
STATE: failure
|
||||||
script:
|
script:
|
||||||
- ./scripts/add_commit_status.sh
|
- ./scripts/add-commit-status.sh
|
||||||
when: on_failure
|
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