@@ -151,60 +151,4 @@ jobs:
151151 continue-on-error : true
152152 with :
153153 path : CoverageReports/SummaryGithub.md
154- deploy_demo :
155- if : github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
156- runs-on : ubuntu-latest
157- name : Build and Deploy Demo site
158- env :
159- DOTNET_VERSION : " net9.0"
160- DOTNET_CLI_TELEMETRY_OPTOUT : 1
161- DOTNET_SKIP_FIRST_TIME_EXPERIENCE : 1
162- DOTNET_NOLOGO : true
163- DOTNET_GENERATE_ASPNET_CERTIFICATE : false
164- DOTNET_ADD_GLOBAL_TOOLS_TO_PATH : false
165- DOTNET_MULTILEVEL_LOOKUP : 0
166- PROJECT : " examples/Demo/Client/FluentUI.Demo.Client.csproj"
167- BUILD_ARCH : " Any CPU"
168- BUILD_CONFIG : " Release"
169- SKIP_DEPLOY_ON_MISSING_SECRETS : true
170- steps :
171- - name : Checkout source
172- uses : actions/checkout@v4
173-
174- - name : .NET Setup SDKs
175- uses : actions/setup-dotnet@v4
176- with :
177- dotnet-version : 9.0.205
178- # dotnet-quality: ga
179-
180- - name : .NET Builld
181- run : dotnet build ${{ env.PROJECT }} -c ${{ env.BUILD_CONFIG }} -o publish -f ${{ env.DOTNET_VERSION }} -r linux-x64 --self-contained=true -p:BuildNumber=$BUILD_NUMBER -p:SourceRevisionId=$GITHUB_SHA -p:ContinuousIntegrationBuild=true
182-
183- - name : .NET Publish
184- run : dotnet publish ${{ env.PROJECT }} -c ${{ env.BUILD_CONFIG }} -o publish -f ${{ env.DOTNET_VERSION }} -r linux-x64 --self-contained=true -p:BuildNumber=$BUILD_NUMBER -p:SourceRevisionId=$GITHUB_SHA -p:ContinuousIntegrationBuild=true
185-
186- - name : Deploy demo site to Azure Static Web App
187- id : builddeploy
188- uses : Azure/static-web-apps-deploy@v1
189- with :
190- azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_ISLAND_005801E03 }}
191- repo_token : ${{ secrets.GITHUB_TOKEN }}
192- action : " upload"
193- app_location : " publish/wwwroot"
194- api_location : " Api"
195- output_location : " publish/wwwroot"
196- skip_api_build : true
197- skip_app_build : true
198- production_branch : ' dev'
199-
200- destroy :
201- if : github.event_name == 'pull_request' && github.event.action == 'closed'
202- runs-on : ubuntu-latest
203- name : Close Pull Request Job
204- steps :
205- - name : Close Pull Request on Azure Static Web App
206- id : closepullrequest
207- uses : Azure/static-web-apps-deploy@v1
208- with :
209- azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_ISLAND_005801E03 }}
210- action : " close"
154+
0 commit comments