1
0
mirror of https://github.com/actix/actix-website synced 2024-11-27 18:12:57 +01:00

Update deploy path

This commit is contained in:
Armin Ronacher 2018-05-22 23:22:33 +02:00
parent a17d187fbd
commit 5aed4e47b3

View File

@ -2,6 +2,6 @@
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
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 _site && ./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"
fi fi