Skip to content
Snippets Groups Projects
Verified Commit 2f7773a2 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

PIPELINE: fix [ ] error

parent 3660ac7a
No related branches found
No related tags found
No related merge requests found
Pipeline #31560 passed
...@@ -14,7 +14,7 @@ add-commit: ...@@ -14,7 +14,7 @@ add-commit:
before_script: before_script:
- apk add curl - apk add curl
script: script:
- [ -z "$CIPRIVATETOKEN" ] && echo "CIPRIVATETOKEN was empty" - test -z "$CIPRIVATETOKEN" && echo "CIPRIVATETOKEN was empty"
- COLON=':' - COLON=':'
- echo "test" >> test.tsv - echo "test" >> test.tsv
- echo -n "{\"branch\"${COLON} \"main\", \"commit_message\"${COLON} \"new commit via ci pipeline\", \"actions\"${COLON} [ { \"action\"${COLON} \"update\", \"file_path\"${COLON} \"test.tsv\", \"encoding\"${COLON} \"base64\", \"content\"${COLON} \"" > commit.json - echo -n "{\"branch\"${COLON} \"main\", \"commit_message\"${COLON} \"new commit via ci pipeline\", \"actions\"${COLON} [ { \"action\"${COLON} \"update\", \"file_path\"${COLON} \"test.tsv\", \"encoding\"${COLON} \"base64\", \"content\"${COLON} \"" > commit.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment