This action deletes a Structural workspace.
| Input | Description | Required | Default |
|---|---|---|---|
structural-url |
Base URL for the Structural API | No | https://app.tonic.ai |
structural-api-key |
Structural API key for authentication | Yes | |
workspace-id |
The identifier (GUID) of the workspace to delete | Yes |
jobs:
delete-workspace:
runs-on: ubuntu-latest
steps:
- name: Delete workspace
uses: TonicAI/structural-delete-workspace@v1
with:
structural-api-key: ${{ secrets.STRUCTURAL_API_KEY }}
workspace-id: ${{ secrets.STRUCTURAL_WORKSPACE_ID }}npm installnpm run packageThis uses @vercel/ncc to compile the action into a single file in the dist folder.
Before you publish, make sure to:
- Build the action:
npm run package - Commit the
distfolder to the repository - Tag your release:
git tag -a v1 -m "Release v1" - Push the tag:
git push origin v1