Add CI release to ContentDB

This commit is contained in:
Juraj Vajda 2022-11-02 23:39:38 -04:00
parent 49384072d8
commit 21a567edc9

View File

@ -34,4 +34,4 @@ pipelines:
- step:
name: Deploy to ContentDB
script:
- curl --location --request POST 'https://content.minetest.net/api/packages/SaKeL/x_bows/releases/new/' --header 'Authorization:Bearer $CONTENT_DB_X_BOWS_TOKEN' --header "'"Content-Type:application/json"'" --data-raw '{"method":"git", "title":"'"$BITBUCKET_TAG"'", "ref":"master"}'
- curl --location --request POST 'https://content.minetest.net/api/packages/SaKeL/x_bows/releases/new/' --header 'Authorization:Bearer "'"$CONTENT_DB_X_BOWS_TOKEN"'"' --header 'Content-Type:application/json' --data-raw '{"method":"git", "title":"'"$BITBUCKET_TAG"'", "ref":"master"}'