Edit .onedev-buildspec.yml
Michael Kinder michael@foggymtndrifter.com
Thu, 31 Oct 2024 19:25:32 +0000
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
.onedev-buildspec.yml
→
.onedev-buildspec.yml
@@ -14,7 +14,7 @@ runInContainer: true
image: curlimages/curl:latest interpreter: !DefaultInterpreter commands: | - curl -i -X POST -H "Authorization: Bearer @secret:SEELF_API_KEY@" -H "Content-Type: application/json" -d "{ \"environment\":\"production\",\"git\":{ \"branch\": \"@ref@\" } }" https://deploy.fmd.gg/api/v1/apps/2nnjlusmcYTFzgKHFxmGLzAtkAH/deployments + curl -i -X POST -H "Authorization: Bearer @secret:SEELF_API_KEY@" -H "Content-Type: application/json" -d "{ \"environment\":\"production\",\"git\":{ \"branch\": \"@branch@\" } }" https://deploy.fmd.gg/api/v1/apps/2nnjlusmcYTFzgKHFxmGLzAtkAH/deployments useTTY: true condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL triggers:@@ -39,7 +39,7 @@ runInContainer: true
image: curlimages/curl:latest interpreter: !DefaultInterpreter commands: | - curl -i -X POST -H "Authorization: Bearer @secret:SEELF_API_KEY@" -H "Content-Type: application/json" -d "{ \"environment\":\"staging\",\"git\":{ \"branch\": \"@ref@\" } }" https://deploy.fmd.gg/api/v1/apps/2nnjlusmcYTFzgKHFxmGLzAtkAH/deployments + curl -i -X POST -H "Authorization: Bearer @secret:SEELF_API_KEY@" -H "Content-Type: application/json" -d "{ \"environment\":\"staging\",\"git\":{ \"branch\": \"@branch@\" } }" https://deploy.fmd.gg/api/v1/apps/2nnjlusmcYTFzgKHFxmGLzAtkAH/deployments useTTY: true condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL triggers: