Added support for optionally deploying to subdir (for docs later)

This commit is contained in:
Jef Roosens 2022-04-05 09:58:02 +02:00
parent a3cf021fc6
commit b4c8216ebc
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
6 changed files with 103 additions and 69 deletions

8
curl Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env sh
curl \
-XPOST \
-T test.tar.gz \
-H 'Authorization: Bearer test' \
-v \
http://localhost:3000/api/deploy?dir=docs