Skip to content
Snippets Groups Projects
Commit dedb8b8f authored by robjmcgibbon's avatar robjmcgibbon
Browse files

Catch no gallery

parent 1f90f617
No related branches found
No related tags found
1 merge request!21Add user map
......@@ -14,7 +14,7 @@ pip install -r requirements.txt
# Create main webpage
git pull
rm -r gallery
[ -d "gallery" ] && rm -rf gallery
cp -r /home/mcgibbon/public_html/SWIFT/webpage_image_gallery gallery
python query.py rLY4HeXMXttDOSedTGrYuRufATu2gDwgE84Hqy3B
python generate_map.py
......@@ -23,7 +23,7 @@ rsync -auv compiled/* ../
[ ! -d "swift" ] && git clone "git@gitlab.cosma.dur.ac.uk:swift/swiftsim.git" "swift"
cd swift
[ "$(git rev-parse --abbrev-ref HEAD)" != "master" ] && git checkout master
git checkout master
git pull
# Generate read the docs
cd doc/RTD
......@@ -42,7 +42,7 @@ cp swift/doc/onboardingGuide/build/latex/onboarding.pdf ../onboarding.pdf
# Generate read the docs for the zoom branch
[ ! -d "swift_will" ] && git clone "git@gitlab.cosma.dur.ac.uk:swift/swiftsim.git" "swift_will"
cd swift_will
[ "$(git rev-parse --abbrev-ref HEAD)" != "zoom_docs" ] && git checkout zoom_docs
git checkout zoom_docs
git pull
cd doc/RTD
[ -d "build" ] && rm -rf build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment