@Praveen Ramachandran Thanks for posting it in Microsoft Q&A and glad that the community is helpful. Based on my understanding, you have multiple configuration files for different environments, and like to sync the files to Azure App Configuration using GitHub Actions Workflow.
You can follow step by step instructions in doc: Sync multiple files in one action and as you note below config file names are separated by comma:
on:
push:
branches:
- 'main'
paths:
- 'appsettings.json'
- 'appsettings2.json'
jobs:
syncconfig:
runs-on: ubuntu-latest
steps:
# checkout done so that files in the repo can be read by the sync
- uses: actions/checkout@v1
- uses: azure/appconfiguration-sync@v1
with:
configurationFile: '{appsettings.json,appsettings2.json}'
format: 'json'
# Replace <ConnectionString> with the name of the secret in your repository
connectionString: ${{ secrets.<ConnectionString> }}
separator: ':'
I hope this helps with your question and let me know if you have any other.