https://github.com/charles25565/nanoci
https://github.com/charles25565/nanoci
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/charles25565/nanoci
- Owner: charles25565
- License: mit
- Created: 2025-03-14T19:33:52.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-03-21T20:46:08.000Z (2 months ago)
- Last Synced: 2025-03-21T21:28:41.253Z (2 months ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NanoCI
This is a small CI written in PHP, but can produce anything.
## Quickstart
Start off by making an environment variable AUTH_KEY.
Now, create a folder named `tasks/.task`.
Then, make a file in it called `TASK`, and executable.
This is a template:
```bash
#!/bin/bash
cd $(dirname ${BASH_SOURCE[0]})
rm -vfr artifacts
mkdir -p artifacts
```Just place your stuff in `artifacts` when done.
Now, you can add a webhook which is `http:///task.php?task=TASKNAME&authkey=CHANGEME`.