Compare commits

..

1 commit

Author SHA1 Message Date
Collin Duncan
0beb5f3323
Adding reservation cancellation
Some checks failed
ci/woodpecker/push/test-and-deploy Pipeline failed
ci/woodpecker/manual/test-and-deploy Pipeline failed
2026-03-24 16:49:57 +01:00
3 changed files with 4 additions and 23 deletions

View file

@ -1,19 +1,13 @@
when:
- event: push
branch: main
- event: manual
branch: main
steps:
- name: deploy
- name: test-and-deploy
image: docker.io/node:hydrogen
volumes:
- /etc/ssh:/etc/ssh
commands:
- npm ci
- npm run test:unit
- npm run deploy
depends_on:
- test
runs_on: [success]

View file

@ -1,11 +0,0 @@
when:
- event: pull_request
- event: push
- event: manual
steps:
- name: test
image: docker.io/node:hydrogen
commands:
- npm ci
- npm run test:unit

View file

@ -1,7 +1,5 @@
# autobaan
![alt text](https://woody.collinduncan.com/api/badges/1/status.svg)
Automatic court reservation!
## Setup
@ -35,4 +33,4 @@ npm start:dev
### CD
Using woodpecker to deploy this via pm2.
So I don't forget... I am using GHA to create a container image which I pull on my server using podman. This then restarts the container on my server with the latest image. The container is backed by a systemd service to restart and start on boot.