You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Managing application settings from CLI or Portal is time consuming.
I would like to be able to set app settings using a github secret something like:
- name: Build And Deployid: builddeployuses: Azure/static-web-apps-deploy@v1with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN}}repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)action: "upload"
...
app-settings-json: '${{ secrets.AZURE_APP_SETTINGS }}'
Same as it is done in the github action: azure/appservice-settings@v1
- uses: azure/appservice-settings@v1with:
app-name: 'my-app'slot-name: 'staging'# Optional and needed only if the settings have to be configured on the specific deployment slotapp-settings-json: '${{ secrets.APP_SETTINGS }}'connection-strings-json: '${{ secrets.CONNECTION_STRINGS }}'general-settings-json: '{"alwaysOn": "false", "webSocketsEnabled": "true"}'#'General configuration settings as Key Value pairs'id: settings
The text was updated successfully, but these errors were encountered:
Not sure if I'm missing something. You can add the settings with the AZ CLI but only for the production "slot"!?
How do I add configurations for my "Preview Deployments", are there any workarounds ? (To add manually in the portal is not an option)
Managing application settings from CLI or Portal is time consuming.
I would like to be able to set app settings using a github secret something like:
Same as it is done in the github action: azure/appservice-settings@v1
The text was updated successfully, but these errors were encountered: