Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not change the app location folder configuration when deploying using Angular 19. #1598

Open
QuinntyneBrown opened this issue Dec 31, 2024 · 1 comment

Comments

@QuinntyneBrown
Copy link

Can not change the app location folder configuration when deploying using Angular 19.

Azure is expecting the contents to be is dist/name-of-app and the contents are in dist/browser/name-of-app

@ashitanojoe
Copy link

I ran into this same problem. Changing the output_location in the yaml file to include the browser folder resolved the issue for me.

File: .github/workflows/{path-to-your-build-config}.yml

name: Azure Static Web Apps CI/CD

## omitted

jobs:
  build_and_deploy_job:
    ## omitted
    steps:
      ## omitted
      - name: Build And Deploy
        id: builddeploy
        uses: Azure/static-web-apps-deploy@v1
        with:
          ## omitted
          app_location: "/" # App source code path
          api_location: "" # Api source code path - optional
          ## change this setting
          output_location: "dist/name-of-app/browser" # Built app content directory - optional
  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants