name:Moodflix-Frontendon:push:branches:[main]paths:['Frontend/**']jobs:build_and_deploy_job:if:github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')runs-on:ubuntu-latestname:Build and Deploy Jobsteps:-uses:actions/checkout@v2with:submodules:true-name:Build And Deployid:builddeployuses:Azure/static-web-apps-deploy@v1with:azure_static_web_apps_api_token:${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_HAPPY_HILL_0BA50CF03 }}repo_token:${{ secrets.GITHUB_TOKEN }}# Used for Github integrations (i.e. PR comments)action:"upload"###### Repository/Build Configurations - These values can be configured to match your app requirements. ####### For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfigapp_location:"/Frontend/"# App source code pathapi_location:""# Api source code path - optionaloutput_location:"build"# Built app content directory - optional###### End of Repository/Build Configurations ######close_pull_request_job:if:github.event_name == 'pull_request' && github.event.action == 'closed'runs-on:ubuntu-latestname:Close Pull Request Jobsteps:-name:Close Pull Requestid:closepullrequestuses:Azure/static-web-apps-deploy@v1with:azure_static_web_apps_api_token:${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_HAPPY_HILL_0BA50CF03 }}action:"close"