Skip to content

Update package.json

Update package.json #8

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: "/" # App source code path relative to repository root
app_build_command: "npm run build:test"
###### End of Repository/Build Configurations ######
output_location: "build" # Built app content directory, relative to app_location - optional