Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .OpenGuidePlatform/settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ site:
source: site
delivery:
canary:
url: https://agreeable-island-0c966e810-canary-{pr}.centralus.6.azurestaticapps.net/
url: https://agreeable-island-0c966e810-canary{pr}.centralus.6.azurestaticapps.net/
environment: canary-{pr}
preview:
url: https://agreeable-island-0c966e810-preview.centralus.6.azurestaticapps.net/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:
inputs:
target:
description: Build target (deployment remains disabled during adoption)
description: Build target (manual deployment is available for preview only)
type: choice
options: [auto, preview, canary, production]
default: auto
Expand All @@ -33,6 +33,6 @@ jobs:
source-ref: ${{ github.event.pull_request.head.sha || github.sha }}
source-path: site
target: ${{ inputs.target || 'auto' }}
deploy: false
deploy: ${{ github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.target == 'preview') || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }}
secrets:
static-web-app-token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AGREEABLE_ISLAND_0C966E810 }}
static-web-app-token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AGREEABLE_ISLAND_0C966E810 }}
Loading