Sites are now explicitely defined
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

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:
Jef Roosens 2022-04-05 10:45:42 +02:00
parent 143f892c52
commit 6505e02dd4
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
4 changed files with 46 additions and 17 deletions

4
curl
View file

@ -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