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