Skip to content

Add GitHub Actions workflow for running tests and update okteto.yml #134

Add GitHub Actions workflow for running tests and update okteto.yml

Add GitHub Actions workflow for running tests and update okteto.yml #134

Workflow file for this run

on:
pull_request:
branches:
- main
jobs:
preview:
runs-on: ubuntu-latest
steps:
- name: Context
uses: okteto/context@latest
with:
token: ${{ secrets.OKTETO_TOKEN }}
url: ${{ secrets.OKTETO_URL }}
- name: Deploy preview environment
uses: okteto/deploy-preview@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: pr-${{ github.event.number }}-cindylopez
scope: global