Skip to content
Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 27, 2020
May 27, 2020

README.md

GitHub Actions for Okteto Cloud

Automate your development workflows using Github Actions and Okteto Cloud

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!

Github Action for Activating a Namespace in Okteto Cloud

You can use this action to activate a namespace in Okteto Cloud, download the corresponding kubeconfig and set it as the current context.

Remember that the namespace name must have your github ID as a suffix.

Inputs

namespace

The namespace to activate. If empty, it will use your personal namespace.

Outputs

kubeconfig

The path to the generated kubeconfig file.

Example

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/namespace@master
      with:
        name: devenvs-cindylopez

About

Github action to activate a namespace in Okteto Cloud and download the corresponding kubeconfig

Topics

Resources

License

Packages

No packages published
You can’t perform that action at this time.