Skip to content

Commit

Permalink
Create azure-static-web-apps-AZ.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nizetic authored Nov 3, 2023
1 parent 2575b92 commit 815d6c6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/azure-static-web-apps-AZ.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Azure Static Web Apps CI/CD

on:
push:
branches: [ "nizetic-patch-1" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build_and_deploy_job:
runs-on: ubuntu-latest
name: Build and Deploy Job
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 }}
action: "upload"
###### Repository/Build Configurations ######
app_location: "src" # 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 ######

0 comments on commit 815d6c6

Please sign in to comment.