Files
CRM/scripts/ci/upload-release-asset.sh
Kroonk a213a1dba0
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
refactor: replace custom CRM with Monica fork
2026-05-22 16:19:55 +02:00

11 lines
274 B
Bash

#!/bin/sh
file=$1
release=$2
curl -H "Authorization: token $GITHUB_TOKEN" \
-H "Content-Type: application/octet-stream" \
-X POST \
--data-binary @"$file" \
"https://uploads.github.com/repos/monicahq/monica/releases/$release/assets?name=$(basename $file)"