An open API service indexing awesome lists of open source software.

https://github.com/charles25565/nanoci


https://github.com/charles25565/nanoci

Last synced: 2 months ago
JSON representation

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`.