File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ composer.lock
55* .sublime-project
66* .sublime-workspace
77/build
8- / env
8+ env
99site
Original file line number Diff line number Diff line change 1- #! /bin/sh
2- pip install -r docs/requirements.txt
3- cd docs/php-form
4- mkdocs build
5- 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- rm phpform.tar.gz
1+ #! /bin/bash
2+
3+ cd docs/
4+ source env/bin/activate && \
5+ pip install -r requirements.txt && \
6+ cd php-form && \
7+ mkdocs build && \
8+ tar -zcvf phpform.tar.gz -C site . && \
9+ 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/ && \
10+ rm phpform.tar.gz
You can’t perform that action at this time.
0 commit comments