diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d70a919..e694b1b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/.gitlab/diff-comment-mr.sh b/.gitlab/diff-comment-mr.sh index 1725d37..c01cef9 100755 --- a/.gitlab/diff-comment-mr.sh +++ b/.gitlab/diff-comment-mr.sh @@ -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}"