Skip to content

Commit

Permalink
simplify call of executable sh script
Browse files Browse the repository at this point in the history
by calling script with `sh`, no need to update rights to be executable.
  • Loading branch information
Polo2 committed Jun 11, 2024
1 parent 0fdf9c0 commit f563981
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ deploy_doc:
diff_doc:
stage: test
script:
- ./.gitlab/diff-comment-mr.sh "bump.openapi.v3.yml" "bump_documentation_slug" "bump_token"
- sh ./.gitlab/diff-comment-mr.sh "bump.openapi.v3.yml" "bump_documentation_slug" "bump_token"
only:
- merge_requests
except:
Expand Down
3 changes: 0 additions & 3 deletions .gitlab/diff-comment-mr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
# - 3. The Bump token (`BUMP_TOKEN`)
#
# Usage: ./diff-comment-mr.sh "doc/openapi.yml" "bump_documentation_slug" "bump_token"
#
# Please make sure this file have execution rights (or you can run this command:
# `chmod +x .gitlab/diff-comment-mr.sh` ).

bump_preview() {
npm exec -- bump preview "${1}"
Expand Down

0 comments on commit f563981

Please sign in to comment.