File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -28,18 +28,27 @@ jobs:
2828 run : yarn install --frozen-lockfile
2929 working-directory : ./apps/frontend
3030
31+ - name : Install sharp package for Next.js
32+ run : yarn add sharp
33+ working-directory : ./apps/frontend
34+
35+ - name : Remove dev dependencies
36+ run : yarn install --production
37+ working-directory : ./apps/frontend
38+
3139 - name : Build the app
3240 run : yarn workspace frontend build
3341 working-directory : ./apps/frontend
3442
3543 - name : Deploy to Azure Static Web Apps
3644 uses : Azure/static-web-apps-deploy@v1
45+ id : deploy
3746 with :
3847 action : " upload"
3948 azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BLACK_WAVE_0F9BACA10 }}
4049 repo_token : ${{ secrets.GITHUB_TOKEN }}
4150 api_location : " " # Azure location where your API is deployed
42- app_location : " ./apps/frontend" # Where the codebase is located
43- output_location : " .next " # The directory where the build output is generated
51+ app_location : " ./apps/frontend/.next " # Where the codebase is located
52+ output_location : " " # The directory where the build output is generated
4453 skip_app_build : true
4554 skip_api_build : true
You can’t perform that action at this time.
0 commit comments