We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbbcb7a commit 8160366Copy full SHA for 8160366
action.yaml
@@ -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
11
+ colony_token:
12
+ description: 'Colony longterm token'
13
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