Verified Commit 1fe94f73 authored by fpletz's avatar fpletz 🚧
Browse files

luftschleuse: always true due to filename in output

parent f6fb9bb3
......@@ -219,7 +219,7 @@ in
${pkgs.curl}/bin/curl -s -o "/tmp/authorized_keys" \
--header "PRIVATE-TOKEN: $(cat /root/gitlab-deploy-token)" \
"https://gitlab.muc.ccc.de/api/v4/projects/169/jobs/artifacts/master/raw/authorized_keys?job=authorized_keys"
[[ $(sha512sum /tmp/authorized_keys) != $(sha512sum $STATE_DIRECTORY/authorized_keys) ]] \
[[ $(sha512sum < /tmp/authorized_keys) != $(sha512sum < $STATE_DIRECTORY/authorized_keys) ]] \
&& cp -v /tmp/authorized_keys $STATE_DIRECTORY/authorized_keys
exit 0
'';
......
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