Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e2e127738 |
@@ -118,9 +118,6 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "gitea.actor=${{ gitea.actor }}"
|
||||
echo "gitea.event.pusher.email=${{ gitea.event.pusher.email }}"
|
||||
|
||||
curl --silent --show-error --fail-with-body --location --request POST 'https://modelhub.org.cn//adminApi/image-verify' \
|
||||
--header "Xc-Token: ${FIXED_TOKEN}" \
|
||||
--header 'Content-Type: application/json' \
|
||||
@@ -129,6 +126,7 @@ jobs:
|
||||
\"gpuType\": \"${GPU_TYPE}\",
|
||||
\"imageUrl\": \"${IMAGE}\",
|
||||
\"taskType\": \"${TASK_TYPE}\",
|
||||
\"createBy\": \"${{ gitea.event.pusher.email }}\",
|
||||
\"repoUrl\": \"${{ gitea.server_url }}/${{ gitea.repository }}\"
|
||||
\"createBy\": \"${{ gitea.actor }}\",
|
||||
\"repoUrl\": \"${{ gitea.server_url }}/${{ gitea.repository }}\",
|
||||
\"tag\": \"${{ github.ref_name }}\"
|
||||
}"
|
||||
|
||||
Reference in New Issue
Block a user