Skip to content

Commit 47ba9f3

Browse files
committed
Changed shebang
1 parent 8247abb commit 47ba9f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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
27+
script: ./docs/deploy.sh $ALEXANDRIA_APIKEY
2828
skip_cleanup: true
2929
on:
3030
branch: feat/docs

docs/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
sudo pip install -r docs/requirements.txt && \
33
cd docs/php-form && \
44
mkdocs build && \
55
tar -zcvf phpform.tar.gz -C site . && \
6-
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/
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/

0 commit comments

Comments
 (0)