mirror of
https://github.com/actix/actix-website
synced 2025-02-25 13:32:49 +01:00
Fixed deploy script
This commit is contained in:
parent
60163cac7f
commit
27e11483bc
@ -1,7 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
|
||||||
cp CNAME public
|
cp CNAME public
|
||||||
mv public/en/* public && rm -R public/en
|
|
||||||
git clone https://github.com/davisp/ghp-import.git &&
|
git clone https://github.com/davisp/ghp-import.git &&
|
||||||
./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -b master -r https://"$GH_TOKEN"@github.com/actix/actix.github.io.git public &&
|
./ghp-import/ghp_import.py -n -p -f -m "Documentation upload" -b master -r https://"$GH_TOKEN"@github.com/actix/actix.github.io.git public &&
|
||||||
echo "Uploaded documentation"
|
echo "Uploaded documentation"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user