From f70e8cce2a13479f7cebda281e2127186b27c114 Mon Sep 17 00:00:00 2001 From: Noah Spannbauer Date: Tue, 19 Nov 2024 22:38:19 -0600 Subject: [PATCH] updating feature github action workflow --- .github/workflows/feature.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/feature.yml b/.github/workflows/feature.yml index ed2be34..c818001 100644 --- a/.github/workflows/feature.yml +++ b/.github/workflows/feature.yml @@ -19,6 +19,14 @@ jobs: with: submodules: true + - name: Install + run: | + npm install + + - name: Build API + run: | + npm run build -w api + - name: Build and Deploy id: builddeploy uses: Azure/static-web-apps-deploy@v1 @@ -28,7 +36,8 @@ jobs: action: 'upload' app_build_command: ${{ vars.APP_BUILD_COMMAND }} app_location: ${{ vars.APP_LOCATION }} - api_build_command: ${{ vars.API_BUILD_COMMAND }} - api_location: ${{ vars.API_LOCATION}} + # api_build_command: ${{ vars.API_BUILD_COMMAND }} + api_location: ${{ vars.API_LOCATION }} output_location: ${{ vars.OUTPUT_LOCATION }} deployment_environment: 'development' + skip_api_build: true