This GitHub Action is now deprecated and will no longer receive updates or maintenance. Please consider the following points before continuing to use this action:
- No Future Updates: There will be no further updates, improvements, or bug fixes.
- Potential Security Risks: Without updates, this action may become vulnerable to security risks.
- Compatibility Issues: Future changes to GitHub Actions or dependencies may cause this action to break or function improperly.
- No Support: We will no longer provide support for any issues or questions related to this action.
Learn more about our support for GitHub Actions in our documentation.
GitHub Actions gives you the flexibility to build an automated software development workflows. With GitHub Actions for Okteto Cloud you can create workflows to build, deploy and update your applications in Okteto Cloud.
Get started today with a free Okteto Cloud account!
You can use this action to destroy a stack in Okteto Cloud as part of your automated development workflow.
The Okteto namespace to use. If not specified it will use the namespace specified by the namespace
action.
The name of the stack. If not specified it will use the one in your manifest file.
The path to the manifest file. If not specified, it will default to docker-compose.yaml
or okteto-stack.yaml
.
The working directory of the action. Defaults to the root folder of the repo.
This example runs the login action and then destroys the stack
# File: .github/workflows/workflow.yml
on: [push]
name: example
jobs:
devflow:
runs-on: ubuntu-latest
steps:
- uses: okteto/login@master
with:
token: ${{ secrets.OKTETO_TOKEN }}
- uses: okteto/namespace@master
- name: "Destroy stack"
uses: okteto/destroy-stack@master