Update Component Introduction.md #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Azure Static Web Apps Deploy | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- 'website/**' | |
- '.github/workflows/az-swa-deploy.yml' | |
jobs: | |
build_and_deploy_job: | |
runs-on: ubuntu-latest | |
name: Deploy | |
steps: | |
- uses: actions/checkout@v4 | |
- 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: "website" # App source code path relative to repository root | |
output_location: "build" # Built app content directory, relative to app_location - optional | |
###### End of Repository/Build Configurations ###### |