Skip to content

C-Xray production Azure Static Web Apps CI/CD #7

C-Xray production Azure Static Web Apps CI/CD

C-Xray production Azure Static Web Apps CI/CD #7

name: C-Xray production Azure Static Web Apps CI/CD
on:
release:
workflow_dispatch:
jobs:
build_and_deploy_job:
runs-on: ubuntu-latest
name: Build and Deploy Job
env:
APPINSIGHTS_CONNECTION_STRING: ${{ secrets.APPINSIGHTS_CONNECTION_STRING }}
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
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"
###### Repository/Build Configurations ######
app_location: "claimsxray" # App source code path relative to repository root
api_location: "saml-proxy-function" # Api source code path relative to repository root - optional
output_location: "dist/claimsxray" # Built app content directory, relative to app_location - optional
###### End of Repository/Build Configurations ######