Description
The GitHub Actions deployment workflows for both production and test environments are currently broken and will fail on any push to main.
Root Cause
Both workflow files reference a tabs subdirectory that does not exist in the current repository structure:
run: |
cd tabs # ❌ This directory does not exist
npm install
npm run build --if-present
The React application is located at the root level of the repository (with src/, public/, backend/, package.json), not in a tabs subfolder.
This appears to be a leftover from a Teams Toolkit template structure that was not updated when the project was restructured as a standalone webapp.
Affected Files
.github/workflows/Azure_App_Service_zaplie-prod.yml
.github/workflows/Azure_App_Service_zaplie-test.yml
Impact
- Production deployments fail - pushes to
main do not deploy to zaplie-prod-webapp
- Test deployments fail - PR preview slots are not created
- No automated deployments - all deployments would need to be done manually
Required Fixes
- Remove
cd tabs command from build steps (build from root)
- Update artifact upload path to include only required files (
build/, backend/, package.json, package-lock.json, web.config)
- Add missing environment variables to test workflow build step (parity with production)
Additional Notes
For zaplie.knowall.ai to work, ensure the custom domain is properly configured on the zaplie-prod-webapp Azure App Service in the Azure Portal.
Description
The GitHub Actions deployment workflows for both production and test environments are currently broken and will fail on any push to
main.Root Cause
Both workflow files reference a
tabssubdirectory that does not exist in the current repository structure:The React application is located at the root level of the repository (with
src/,public/,backend/,package.json), not in atabssubfolder.This appears to be a leftover from a Teams Toolkit template structure that was not updated when the project was restructured as a standalone webapp.
Affected Files
.github/workflows/Azure_App_Service_zaplie-prod.yml.github/workflows/Azure_App_Service_zaplie-test.ymlImpact
maindo not deploy tozaplie-prod-webappRequired Fixes
cd tabscommand from build steps (build from root)build/,backend/,package.json,package-lock.json,web.config)Additional Notes
For
zaplie.knowall.aito work, ensure the custom domain is properly configured on thezaplie-prod-webappAzure App Service in the Azure Portal.