19 lines
391 B
Bash
Executable File
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
|