mirror of
https://github.com/actix/actix-website
synced 2024-11-27 10:02:57 +01:00
8 lines
376 B
Bash
8 lines
376 B
Bash
#!/bin/bash
|
|
if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" == "master" ]]; then
|
|
cp CNAME public
|
|
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 &&
|
|
echo "Uploaded documentation"
|
|
fi
|