Deployment of gitlab repositry does not go through to Azure while using the torturial.

MYROLD Mathias 20 Reputation points
2024-09-24T08:38:36.15+00:00

While following every step of this torturial: https://video2.skills-academy.com/en-us/azure/static-web-apps/gitlab?tabs=angular, my static web app instance does not recieve the deployment. Do I need to do more than what is described in the torturial?

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
921 questions
0 comments No comments
{count} votes

Accepted answer
  1. VenkateshDodda-MSFT 20,536 Reputation points Microsoft Employee
    2024-09-24T11:16:56.67+00:00

    @MYROLD Mathias Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    I have followed the same documentation steps & able to create and request the static web apps successfully.

    You can monitor whether the deployment has been triggered to static webapp or not using the Jobs --> under Build --> under your GitLab Repo as shown below.

    User's image

    Also, modify the property "App_Path" in your ".gitlab-ci.yml" file to this APP_PATH: '$CI_PROJECT_DIR/'instead of APP_PATH: '$CI_PROJECT_DIR/src'.

    Post committing the above change to Repo this will trigger a deployment job to static webapp (you monitor the job by following the above) Once the job is done when you request the url of the App service you will be able to see the below.

    User's image

    Hope this helps, let me know if you have any further questions on this.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.