Fix DRONE_URL, tidy up README and .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
3wc 2024-05-18 21:17:26 -03:00
parent 7f2710e9a2
commit 670300a8dc
3 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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 `---`)

View File

@ -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: {