Skip to content

Commit

Permalink
use default working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
elrayle committed Jan 16, 2024
1 parent b46d41b commit 3859f49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_deploy_dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: JavaScript CI
name: Build and Deploy to dev service app

on:
push:
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 3859f49

Please sign in to comment.