File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Azure Static Web Apps Deploy
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - main
8+ paths :
9+ - ' website/**'
10+ - ' .github/workflows/az-swa-deploy.yml'
11+
12+ jobs :
13+ build_and_deploy_job :
14+ runs-on : ubuntu-latest
15+ name : Deploy
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Build And Deploy
19+ id : builddeploy
20+ uses : Azure/static-web-apps-deploy@v1
21+ with :
22+ azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
23+ repo_token : ${{ secrets.GITHUB_TOKEN }} # Used for GitHub integrations (i.e. PR comments)
24+ action : " upload"
25+ # ##### Repository/Build Configurations ######
26+ app_location : " website" # App source code path relative to repository root
27+ output_location : " build" # Built app content directory, relative to app_location - optional
28+ # ##### End of Repository/Build Configurations ######
You can’t perform that action at this time.
0 commit comments