rename promotion target to staging
This commit is contained in:
parent
a01c098075
commit
5555aa4f0c
@ -37,7 +37,7 @@ steps:
|
||||
if [[ $COMMIT_HASH != $IMAGE_COMMIT_HASH ]]; then
|
||||
echo 'Updates available, triggering server build.'
|
||||
curl -X POST -H "Authorization: Bearer $DRONE_API_TOKEN" \
|
||||
https://drone.jfmonty2.com/api/repos/jfmonty2/drone/builds/$DRONE_BUILD_NUMBER/promote?target=server-build
|
||||
https://drone.jfmonty2.com/api/repos/jfmonty2/drone/builds/$DRONE_BUILD_NUMBER/promote?target=staging
|
||||
else
|
||||
echo 'Image is already up to date.'
|
||||
fi
|
||||
@ -57,7 +57,7 @@ trigger:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- server-build
|
||||
- staging
|
||||
|
||||
steps:
|
||||
- name: prepare
|
||||
|
Loading…
x
Reference in New Issue
Block a user