mirror of
https://github.com/storytold/artcraft.git
synced 2026-10-20 17:02:53 -04:00
wip
This commit is contained in:
@@ -11,9 +11,10 @@ jobs:
|
||||
steps:
|
||||
- name: post record
|
||||
run: |
|
||||
RECORD_NAME='sha'
|
||||
VALUE_TEXT='${{ github.sha }}'
|
||||
VALUE_BINARY=$(printf '%s' "${VALUE_TEXT}" | base64 -w 0)
|
||||
curl --fail-with-body -sS -X POST \
|
||||
-H 'Content-Type: application/json' \
|
||||
-d "{\"name\":\"foo\",\"value_text\":\"${VALUE_TEXT}\",\"value_binary\":\"${VALUE_BINARY}\"}" \
|
||||
-d "{\"name\":\"${RECORD_NAME}\",\"value_text\":\"${VALUE_TEXT}\",\"value_binary\":\"${VALUE_BINARY}\"}" \
|
||||
https://brandons-macbook-pro.taild62114.ts.net/record
|
||||
|
||||
Reference in New Issue
Block a user