This repository automates InProd changeset deployments using GitHub Actions. When changesets are pushed to the repository, the workflow automatically deploys them to the appropriate environment based on the branch name.
The deployment workflow is triggered whenever changes are pushed to the changesets/ directory on the following branches:
- Dev → Deploys to Development environment
- UAT → Deploys to UAT environment
- Prod → Deploys to Production environment
The branch name is used directly as the environment parameter passed to the InProd deployment action.
Changesets are defined as YAML files in the changesets/ directory. Each changeset describes the infrastructure or configuration changes to apply.
# changesets/datatable.yaml
# Define your changeset configuration hereThe GitHub Actions workflow (.github/workflows/deploy-changesets.yml) performs the following steps:
- Checks out the repository code
- Extracts the branch name (Dev, UAT, or Prod)
- Deploys all changesets matching
changesets/*.yamlto the corresponding environment
- Valid
INPROD_API_KEYstored as a GitHub secret - Changesets defined in YAML format in the
changesets/directory End to end functional testing and demo for github-run-changesets
This repository demonstrates the integration of InProd GitHub Run Changesets action for automating Genesys Cloud configuration deployments.
.
├── .github/
│ └── workflows/
│ └── deploy-changesets.yml # GitHub Actions workflow
├── changesets/
│ └── datatable.yaml # InProd changeset file
└── README.md
The repository is configured to automatically deploy changesets when changes are pushed to specific branches:
- dev → Development environment
- uat → UAT environment
- main → Production environment
Before using this action, you need to configure the following GitHub secret:
- INPROD_API_KEY: Your InProd API key (configured in repository or organization secrets)
The workflow uses the following environment variables:
- INPROD_BASE_URL:
https://gray.dev.inprod.io/ - INPROD_API_KEY: Retrieved from GitHub Secrets
- Add or modify changeset files in the
changesets/directory - Commit and push to one of the monitored branches (dev, uat, or main)
- The GitHub Action will automatically:
- Validate the changeset
- Deploy to the appropriate environment based on the branch
- Report the results
See changesets/datatable.yaml for an example of creating a Genesys Cloud Architect Flow Datatable.
The workflow is triggered on:
- Push to
dev,uat, ormainbranches - Only when files in the
changesets/**directory are modified