Skip to content
Snippets Groups Projects
Commit 584d892f authored by Jorge Aparicio's avatar Jorge Aparicio
Browse files

fix after_success

parent e19f774a
No related branches found
No related tags found
No related merge requests found
set -euxo pipefail set -euxo pipefail
main() { main() {
cargo doc if [ $TARGET = x86_64-unknown-linux-gnu ]; then
return
fi
xargo doc --target $TARGET
mkdir ghp-import mkdir ghp-import
curl -Ls https://github.com/davisp/ghp-import/archive/master.tar.gz | \ curl -Ls https://github.com/davisp/ghp-import/archive/master.tar.gz | \
tar --strip-components 1 -C ghp-import -xz tar --strip-components 1 -C ghp-import -xz
./ghp-import/ghp_import.py target/doc ./ghp-import/ghp_import.py target/$TARGET/doc
set +x set +x
git push -fq https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG.git gh-pages && \ git push -fq https://$GH_TOKEN@github.com/$TRAVIS_REPO_SLUG.git gh-pages && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment