Skip to content

Instantly share code, notes, and snippets.

@StefH
Created March 27, 2021 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save StefH/17f275e5723e47a3f992fb7aed34abd4 to your computer and use it in GitHub Desktop.
Save StefH/17f275e5723e47a3f992fb7aed34abd4 to your computer and use it in GitHub Desktop.
build_and_deploy_job:
name: Build and Deploy Job
steps:
...
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v0.0.1-preview
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_*** }}
app_location: "Client" # App source code path
api_location: "Api" # Api source code path
output_location: "wwwroot" # Built app content directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment