Skip to content

.github/workflows/karnot-ci.yml #9

.github/workflows/karnot-ci.yml

.github/workflows/karnot-ci.yml #9

Workflow file for this run

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/pragma/pragma-env.yaml" # Specify your file
environment: ${{ github.event.inputs.environment }}
KARNOT_CLOUD_URL: ${{ secrets.KARNOT_CLOUD_URL }}
KARNOT_CLOUD_TOKEN: ${{ secrets.KARNOT_CLOUD_TOKEN }}