Sites are now explicitely defined
This fixes the issue where deploying the default site would delete all other sites, because they're subdirs of the default dir.
This commit is contained in:
parent
143f892c52
commit
6505e02dd4
4 changed files with 46 additions and 17 deletions
4
curl
4
curl
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
curl \
|
||||
-XPOST \
|
||||
-T test.tar.gz \
|
||||
-T default.tar.gz \
|
||||
-H 'Authorization: Bearer test' \
|
||||
-v \
|
||||
http://localhost:3000/api/deploy?dir=docs
|
||||
http://localhost:3000/api/deploy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue