diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..14a742402f7e14d492bd881869e5bac75abd5b44 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +workflow: + rules: + - if: >- + $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "main" + when: 'always' + - when: 'never' + + +job_trigger-pipeline: + trigger: + project: 'fb6-wp11-devops/webservice-build-and-publish' diff --git a/README.md b/README.md index 1d1a9c01fc819f33f6232a24fcc96d453865e36f..acd5e852e2586484dc63cdaf8b84ce06ad8f1bd9 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ List all existing entries (returns JSON or plain text, depending on the `Accept` ```bash curl \ -X GET \ - --header 'Accept: text/plain'\ + --header 'Accept: text/plain' \ http://localhost:8080/states ```