Skip to content

Commit 8160366

Browse files
committed
Move from another repo
1 parent cbbcb7a commit 8160366

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

action.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'End Colony Sandbox'
2+
description: 'Ends a sandbox in Colony'
3+
author: 'Quali'
4+
inputs:
5+
space:
6+
description: 'Colony space'
7+
required: true
8+
sandbox_id:
9+
description: 'Colony Sandbox ID'
10+
required: true
11+
colony_token:
12+
description: 'Colony longterm token'
13+
required: true
14+
15+
runs:
16+
using: "composite"
17+
steps:
18+
- id: end-sandbox
19+
run: |
20+
curl --silent -X DELETE "https://cloudshellcolony.com/api/spaces/${{ inputs.space }}/sandbox/${{ inputs.sandbox_id }}" \
21+
-H "accept: text/plain" -H "Authorization: bearer ${{ inputs.colony_token }}" || exit 1
22+
shell: bash

0 commit comments

Comments
 (0)