Skip to content

Commit 238fff5

Browse files
committed
Another deploy try
1 parent 47ba9f3 commit 238fff5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ after_success:
2424

2525
deploy:
2626
provider: script
27-
script: ./docs/deploy.sh $ALEXANDRIA_APIKEY
27+
script: ./docs/deploy.sh
2828
skip_cleanup: true
2929
on:
3030
branch: feat/docs

docs/deploy.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/sh
2+
23
sudo pip install -r docs/requirements.txt && \
34
cd docs/php-form && \
45
mkdocs build && \
56
tar -zcvf phpform.tar.gz -C site . && \
6-
curl -X POST -H "Content-Type: multipart/form-data" -H "Api-Key: ${1}" -F "archive=@phpform.tar.gz" https://alexandriadocs.io/api/v1/projects/upload/
7+
curl -X POST -H "Content-Type: multipart/form-data" -H "Api-Key: ${ALEXANDRIA_APIKEY}" -F "archive=@phpform.tar.gz" https://alexandriadocs.io/api/v1/projects/upload/

0 commit comments

Comments
 (0)