generated from autonomic-cooperative/astro-payload-template
Fix DRONE_URL, tidy up README and .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7f2710e9a2
commit
670300a8dc
@ -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:
|
||||
|
@ -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 `---`)
|
||||
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user