diff --git a/.drone.yml b/.drone.yml index 3be0857..289570a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,7 +27,6 @@ steps: context: payload dockerfile: payload/Dockerfile target: prod - # See https://docz.autonomic.zone/doc/setting-up-auto-deployment-using-drone-I4j2onjaKT - name: deploy stack image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest settings: diff --git a/README.md b/README.md index c64a0aa..fe142c1 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # How to use this template 1. Create a new Gitea repository based on this template repo (choose at least - "git content" + "git content") 2. Edit `.env.sample` to define the project name 3. Remove this notice (everything down to the `---`) diff --git a/payload/src/collections/Posts.ts b/payload/src/collections/Posts.ts index e6e0c60..3384ed8 100644 --- a/payload/src/collections/Posts.ts +++ b/payload/src/collections/Posts.ts @@ -19,7 +19,7 @@ const Posts: CollectionConfig = { process.env.NODE_ENV !== "development" && console.log( await fetch( - `${process.env.DRONE_URL}api/repos/${process.env.REPOSITORY}/builds`, + `${process.env.DRONE_URL}/api/repos/${process.env.REPOSITORY}/builds`, { method: "POST", headers: {