This fixes the issue where deploying the default site would delete all other sites, because they're subdirs of the default dir.
8 lines
147 B
Bash
Executable file
8 lines
147 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
curl \
|
|
-XPOST \
|
|
-T default.tar.gz \
|
|
-H 'Authorization: Bearer test' \
|
|
-v \
|
|
http://localhost:3000/api/deploy
|