Commit bfb17170 authored by Vadim Mazaev's avatar Vadim Mazaev

better releaser

parent 76ad0726
......@@ -33,8 +33,8 @@ deploy:
tags:
- docker
script:
- 'curl --fail --silent -H "Authorization: $TESTER_TOKEN"
-H "Content-Type: application/json" -d "`yq . tests/.deadlines.yml -c`"
"https://py.manytask.org/api/sync_task_columns"'
- 'yq . tests/.deadlines.yml -ce | curl -d - --fail --silent
-H "Authorization: $TESTER_TOKEN" -H "Content-Type: application/json"
"https://py.manytask.org/api/sync_task_columns"'
- docker build -f testenv.docker -t eu.gcr.io/shad-ts/grader/py-testenv .
- docker push eu.gcr.io/shad-ts/grader/py-testenv:latest
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment