Skip to content
database

GitHub Action

Delete Spawn Data Container

v1 Latest version

Delete Spawn Data Container

database

Delete Spawn Data Container

Delete a spawn data container

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Delete Spawn Data Container

uses: red-gate/delete-spawn-data-container@v1

Learn more about this action in red-gate/delete-spawn-data-container

Choose a version

Delete Spawn Data Container Action

This action is part of a suite of Github Actions for Spawn, a service for provisioning cloud hosted, ephemeral databases for development and CI.

See the Spawn docs for an example workflow that uses this action.

Inputs

Name Description Default Required
dataContainer The data container identifier (name, or numeric ID) to delete N/A Yes
additionalArgs Any additional arguments or flags to spawnctl. These will be appended to the end '' No

Outputs

None.

Authentication

All operations require the use of a Spawn access token.

This is expected to be provided to all actions through a SPAWNCTL_ACCESS_TOKEN environment variable. This should be provided via a GitHub Secret.