Skip to content

Commit adaa647

Browse files
committed
ci: remove custom build command
Added in #122 but no longer appears to be necessary.
1 parent 695a356 commit adaa647

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/azure-static-web-apps-polite-desert-00b80111e.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ jobs:
2727
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork && github.event.action != 'closed')
2828
runs-on: ubuntu-latest
2929
name: Build and Deploy Job
30-
env:
31-
# workaround for Oryx issue: see https://github.com/Azure/static-web-apps/issues/909#issuecomment-1320077142
32-
CUSTOM_BUILD_COMMAND: 'chown -R root:root . && npm install --unsafe-perm && npm run build'
3330
steps:
3431
- uses: actions/checkout@v2
3532
with:
@@ -46,8 +43,6 @@ jobs:
4643
app_location: '/demo' # App source code path
4744
api_location: 'demo/func' # Api source code path - optional
4845
output_location: 'build/static' # Built app content directory - optional
49-
# needed when we set CUSTOM_BUILD_COMMAND
50-
skip_api_build: true
5146
###### End of Repository/Build Configurations ######
5247
outputs:
5348
preview_url: ${{ steps.builddeploy.outputs.static_web_app_url }}

demo/package-lock.json

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)