Update 'sqmod.yml'

This commit is contained in:
thijn 2023-03-15 23:30:33 +01:00
parent 2cdb7ee45e
commit a261489e73

View File

@ -24,18 +24,17 @@ steps:
echo "Created release $RELEASE_ID" echo "Created release $RELEASE_ID"
trigger: node:
event: name: fatcow
- push
--- ---
kind: pipeline kind: pipeline
name: build-linux name: build-linux
workspace: workspace:
path: /repo path: /repo
#platform: platform:
#os: linux os: linux
#arch: amd64 arch: amd64
depends_on: depends_on:
- create-release - create-release
@ -82,6 +81,7 @@ steps:
- mv /repo/bin/plugins/mod_squirrel_64.so /repo/bin/plugins/mod_squirrel_64-ubuntu.so - mv /repo/bin/plugins/mod_squirrel_64.so /repo/bin/plugins/mod_squirrel_64-ubuntu.so
- > - >
curl -X 'POST' 'https://git.thijn.ovh/api/v1/repos/Thijn/SqMod/releases/'"$RELEASE_ID"'/assets?token='"$GIT_TOKEN"'' -H 'accept: application/json' -H 'Content-Type: multipart/form-data' -F 'attachment=@/repo/bin/plugins/mod_squirrel_64-ubuntu.so' curl -X 'POST' 'https://git.thijn.ovh/api/v1/repos/Thijn/SqMod/releases/'"$RELEASE_ID"'/assets?token='"$GIT_TOKEN"'' -H 'accept: application/json' -H 'Content-Type: multipart/form-data' -F 'attachment=@/repo/bin/plugins/mod_squirrel_64-ubuntu.so'
trigger: trigger:
event: event:
- push - push