Skip to main content

Delete Deployment

One can delete CPU via deweb-services/delete_cpu_action with following required parameters:

  • access-key
  • secret-key
  • uuid

Output value has variable name success and can be got via ${{ steps.delete-cpu-step-id.outputs.success }}


name: Main

on: [ push ]

runs-on: ubuntu-latest
name: A job to destroy cpu
- name: Delete cpu action step
id: delete-cpu
uses: deweb-services/[email protected]
access-key: 'jvaaat2m...'
secret-key: 'jz5eeeeivffffqan...'
uuid: '71837058-4a8d-4b02-84a6-8f6b12bda303'
- name: Get the operation result
run: echo "The deletion was successful ${{ steps.delete-cpu.outputs.success }}"

The "access-key" parameter refers to a Access Keys credential pair. Access keys are accessible in the Access keys menu item on NodeShift. You can read more about creating and using them in the Access Keys section.