From ebbe1e200fb8e586b99fcbf90e8508e21ea69385 Mon Sep 17 00:00:00 2001 From: Johannes Blaschke Date: Tue, 20 Mar 2018 18:19:44 -0700 Subject: [PATCH] clean up travis deploy --- .travis.yml | 1 - build_and_deploy.sh | 42 ------------------------------------------ 2 files changed, 43 deletions(-) diff --git a/.travis.yml b/.travis.yml index 580c061..5a0c156 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ python: install: - pip install --user sphinx sphinx_rtd_theme - # - sudo apt-get install mpich2 gfortran script: bash ./build_and_deploy.sh diff --git a/build_and_deploy.sh b/build_and_deploy.sh index 1819bb9..1b97721 100755 --- a/build_and_deploy.sh +++ b/build_and_deploy.sh @@ -1,11 +1,6 @@ #!/bin/bash set -e # Exit with nonzero exit code if anything fails -# First we test whether we can build libamrex or not -#echo "Building libamrex... " -#./configure -#make -j4 - # Then we build and deploy the sphinx / doxygen documentation SOURCE_BRANCH="master" #TARGET_BRANCH="gh-pages" @@ -21,16 +16,6 @@ fi #SSH_REPO=${REPO/https:\/\/github.com\//git@github.com:} #SHA=`git rev-parse --verify HEAD` -# Clone the existing gh-pages for this repo into out/ -# Create a new empty branch if gh-pages doesn't exist yet (should only happen on first deply) -#git clone $REPO out -#cd out -#git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH -#cd .. - -# Clean out existing contents -#rm -rf out/**/* || exit 0 - # build the Doxygen documentation #cd Docs/Doxygen #doxygen doxygen.conf @@ -43,30 +28,3 @@ fi # now do sphinx cd docs make html -#cd ../../ - -#mv docs/build/html/* -#touch out/.nojekyll - -# Now let's go have some fun with the cloned repo -#cd out -#git config user.name "Travis CI" -#git config user.email "$COMMIT_AUTHOR_EMAIL" - -#if git diff-index --quiet HEAD; then -# exit 0 -#fi - -# Commit the "changes", i.e. the new version. -# The delta will show diffs between new and old versions. -#git add --all -#git commit -m "Deploy to GitHub Pages: ${SHA}" || true - -#openssl aes-256-cbc -K $encrypted_6602cdd8f9c9_key -iv $encrypted_6602cdd8f9c9_iv -in ../id_rsa_travis.enc -out ../id_rsa_travis -d -#chmod 600 ../id_rsa_travis -#eval `ssh-agent -s` -#ssh-add ../id_rsa_travis - -#git push $SSH_REPO $TARGET_BRANCH || true -#ssh-agent -k -#cd .. -- GitLab