Skip to content

GitHub Actions deployment workflows are broken - referencing non-existent tabs directory #7

@BenGWeeks

Description

@BenGWeeks

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

  1. Remove cd tabs command from build steps (build from root)
  2. Update artifact upload path to include only required files (build/, backend/, package.json, package-lock.json, web.config)
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions