startup-command parameter is ignored
See original GitHub issueWe’re using this GitHub action to deploy an app to Azure App Services.
The workflows seems to works (and the deployment occurs) but the startup-command
is ignored, and GitHub raises an error:
This message contradicts the yaml action definition file.
Here is our yaml action file:
name: REDACTED
on:
push:
branches:
- production
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Node.js version
uses: actions/setup-node@v1
with:
node-version: "10.x"
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm run test --if-present
- name: "Deploy to Azure Web App"
uses: azure/webapps-deploy@v1
with:
app-name: "REDACTED"
startup-command: "npm run api-prd"
slot-name: "production"
publish-profile: REDACTED
package: .
Am I missing something or is it a known issue?
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (7 by maintainers)
Top Results From Across the Web
Command line parameter is being ignored - Stack Overflow
So the everything after the & is being ignored. If I pass the argument into the main method using Eclipse then the argument...
Read more >basekey, -ininame startup parameters ignored in a .pf file.
Note: You can use the -basekey startup parameter only at the command line. It is ignored when used in a parameter (.pf) file....
Read more >Launch executable command line parameters ignored
Ignoring the "online" version, my real question is this, why is the "caching mode" version bundle ignoring the command line parameters assigned ...
Read more >Command Line arguments being ignored
When attempting to debug a native C++ application, command line arguments are being ignored. The arguments are being specified through the build properties ......
Read more >Arma 3: Startup Parameters - Bohemia Interactive Community
If your CPU does not support Hyper-Threading or similar technology, this parameter is ignored. When disabled, only physical cores are used.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
currently startup-command is not supported for windows web apps and if publish profile auth scheme is used. Please use Azure login before webapps-deploy action to use startup command with linux container. Refer Sample workflow
+1 on this issue with v2 The line in validation.js
This will always cause an exception to be thrown if startupcommand is present since this will evaluate to true with a non empty string