Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.25 KB

README.md

File metadata and controls

40 lines (25 loc) · 1.25 KB

GitHub Actions for Okteto

Automate your development workflows using Github Actions and Okteto

GitHub Actions gives you the flexibility to build automated software development workflows. With GitHub Actions for Okteto you can create workflows to build, deploy and update your applications in Okteto. Follow this tutorial for a full preview environment configuration sample.

Try Okteto for free for 30 days, no credit card required. Start your 30-day trial now!

Github Action for validating an okteto manifest

You can use this action to run tests in Okteto as part of your automated CI and development workflow.

Inputs

file

Relative path within the repository to the manifest file (default to okteto.yaml).

Example usage

This example runs the context action and then runs the tests deploying the dev environment if it hasn't been deployed yet

# File: .github/workflows/workflow.yml
on: [push]

name: example

jobs:

  devflow:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout code
      uses: actions/checkout@v4

    - name: "Validate okteto.yml"
      uses: okteto/validate@latest