diff --git a/.github/workflows/build_and_deploy_dev.yml b/.github/workflows/build_and_deploy_dev.yml index b68f80a0d..7799abba5 100644 --- a/.github/workflows/build_and_deploy_dev.yml +++ b/.github/workflows/build_and_deploy_dev.yml @@ -1,4 +1,4 @@ -name: JavaScript CI +name: Build and Deploy to dev service app on: push: @@ -7,7 +7,7 @@ on: env: AZURE_WEBAPP_NAME: clearlydefined-api-dev - # AZURE_WEBAPP_PACKAGE_PATH: 'my-app-path' # TODO: confirm that root is the webapp root (default is root) + # AZURE_WEBAPP_PACKAGE_PATH: '.' # TODO: confirm that root is the webapp root (default is root) NODE_VERSION: '18' # TODO: does this need to have a minor version? jobs: @@ -27,7 +27,7 @@ jobs: npm install npm run build --if-present npm run test --if-present - working-directory: my-app-path + # working-directory: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }} # TODO: uncomment if determined that root is not the webapp root - name: 'Deploy to Azure WebApp' uses: azure/webapps-deploy@v2 with: