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

https://github.com/tonicai/ephemeral-delete-database


https://github.com/tonicai/ephemeral-delete-database

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Delete a Tonic Ephemeral database

A GitHub action that deletes a database from Tonic Ephemeral.

Completes successfully if either:

- The database was found and deleted.
- The database was not found.

## Inputs

| Input | Description | Required | Default |
|-------|-------------|----------|---------|
| `ephemeral-url` | URL to the Tonic Ephemeral API. For example: `https://ephemeral.tonic.ai` | No | `https://ephemeral.tonic.ai` |
| `ephemeral-api-key` | API key for authentication. Stored as a secret. | Yes | - |
| `database-entity-id` | Identifier of the database to delete. | Yes | - |

### Usage example

```yaml
- name: Delete ephemeral database
uses: TonicAI/delete-ephemeral-database@v1
with:
ephemeral-api-key: ${{ secrets.EPHEMERAL_API_KEY }}
database-entity-id: ${{ steps.create-db.outputs.database-id }}
```