Skip to content

.github/workflows/karnot-deployment.yaml #3

.github/workflows/karnot-deployment.yaml

.github/workflows/karnot-deployment.yaml #3

on:
workflow_dispatch:
inputs:
environment:
description: Environment to deploy
required: true
type: choice
options:
- sepolia
- staging
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: ./deployments/karnot/deployment-config.yaml
environment: ${{ github.event.inputs.environment }}
KARNOT_CLOUD_URL: ${{ secrets.KARNOT_CLOUD_URL }}
KARNOT_CLOUD_TOKEN: ${{ secrets.KARNOT_CLOUD_TOKEN }}