Skip to content

Commit

Permalink
Basic postdeploy script did not work. Trying dokku.postdeploy script.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmwatson committed Aug 14, 2024
1 parent a707b94 commit f3c8839
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"scripts": {
"dokku": {
"postdeploy": "curl https://api.pmg.org.za/v2/bill-tracker/update/"
}
},
"cron": [
{
"command": "curl https://api.pmg.org.za/v2/bill-tracker/update/",
"schedule": "@daily"
}
],
"scripts": {
"postdeploy": "curl https://api.pmg.org.za/v2/bill-tracker/update/"
}
]
}

0 comments on commit f3c8839

Please sign in to comment.