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 create a namespace in Okteto Cloud as part of your automated development workflow.
Required The name of the Okteto namespace to create.
Remember that the namespace name must have your github ID as a suffix.
This example runs the login action and then activates a namespace.
# 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 }}
- name: "Create devlopment environments namespace"
uses: okteto/create-namespace@master
with:
name: devenvs-cindylopez