R
Railway2mo ago
Pharoh

How do I pass post-build command?

nodejs package.json basically
6 Replies
Percy
Percy2mo ago
Project ID: N/A
Pharoh
PharohOP2mo ago
null
DЯIZZᄂΣ
DЯIZZᄂΣ2mo ago
.
Pharoh
PharohOP2mo ago
...
"deploy": {
"startCommand": "npm run purge-cache && npm run start",
...
...
"deploy": {
"startCommand": "npm run purge-cache && npm run start",
...
Currently i'm doing this i want the purge-cache command to be run post-build or post-start to be exact ping me when messaging
Brody
Brody2mo ago
There is no platform native way to run something after your start command
BillyDotWS
BillyDotWS2mo ago
create a bash script and make it run that bash script, simples
Want results from more Discord servers?
Add your server