.github/workflows/karnot-ci.yml #22
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: | |
workflow_dispatch: | |
inputs: | |
environment: | |
description: 'Environment to deploy' | |
required: true | |
type: choice | |
options: | |
- devnet | |
jobs: | |
my_job: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Debug Information | |
run: | | |
echo "Selected environment: ${{ github.event.inputs.environment }}" | |
echo "Current directory: $(pwd)" | |
echo "Directory contents:" | |
ls -R | |
- name: Run Karnot Cloud Pro | |
uses: karnotxyz/kcloud-pro-github-action@main | |
with: | |
input_file: './infra/karnot/karnot-env.yaml' # Specify your file | |
environment: ${{ github.event.inputs.environment }} | |
KARNOT_CLOUD_URL: ${{ secrets.KARNOT_CLOUD_URL }} | |
KARNOT_CLOUD_TOKEN: ${{ secrets.KARNOT_CLOUD_TOKEN }} |