Files
dotfiles/.scripts/medlabweb.sh
T
2019-09-25 14:30:03 -06:00

19 lines
391 B
Bash
Executable File

#!/bin/sh
# medlabweb, by ntnsndr, v. 20190905
# Summary: Downloads medlab website from GitLab and uploads to university server
# Input: N/A
# Live inputs: CU password
# Output: Uploaded website
# Download files
git clone https://gitlab.com/medlabboulder/medlab-website.git
cd medlab-website
# Build
bundle exec jekyll build
bundle exec jekyll deploy
# Delete
cd ..
rm -rf medlab-website