Add GitHub Actions workflow for running tests and update okteto.yml #131
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |