generated from autonomic-cooperative/astro-payload-template
Split DRONE_URL out into setting
This commit is contained in:
parent
37c0cd98b7
commit
7d071a2672
@ -44,6 +44,7 @@ steps:
|
||||
SECRET_MONGO_PASSWORD_VERSION: v1
|
||||
NGINX_CONF_VERSION: v1
|
||||
REPOSITORY: "autonomic-cooperative/astro-payload-test"
|
||||
DRONE_URL: "https://drone.autonomic.zone"
|
||||
PAYLOAD_URL: "https://admin.paystro.swarm-demo.autonomic.zone"
|
||||
depends_on:
|
||||
- publish payload container
|
||||
|
@ -19,7 +19,7 @@ const Posts: CollectionConfig = {
|
||||
process.env.NODE_ENV !== "development" &&
|
||||
console.log(
|
||||
await fetch(
|
||||
`https://drone.autonomic.zone/api/repos/${process.env.REPOSITORY}/builds`,
|
||||
`${process.env.DRONE_URL}api/repos/${process.env.REPOSITORY}/builds`,
|
||||
{
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
Loading…
Reference in New Issue
Block a user