Browse Source

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>
pull/823/head
opyale 6 months ago
committed by M M Arif
parent
commit
3c381f372e
  1. 12
      .gitlab-ci.yml
  2. 0
      scripts/add-commit-status.sh

12
.gitlab-ci.yml

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

Loading…
Cancel
Save