Revert to _build scripts

This commit is contained in:
2019-07-10 22:21:51 +00:00
parent 9db25c60c1
commit fe347a7b3c

View File

@@ -4,30 +4,22 @@ stages:
- deploy - deploy
before_script: before_script:
# - apt-get update -qq && apt-get install -y -qq libcurl4-openssl-dev lftp - apt-get update -qq && apt-get install -y -qq libcurl4-openssl-dev lftp
- apt-get update -qq && apt-get install -y -qq rsync sshpass
- bundle install - bundle install
- gem install jekyll - gem install jekyll
- gem install jekyll-deploy
deploy_script:
stage: deploy
only: only:
- master - master
environment:
name: website
url: https://cmci.colorado.edu/cmci
script: script:
- jekyll build - echo "Building.."
- jekyll deploy - chmod +x ./_scripts/build.sh
- ./_scripts/build.sh
#deploy_script: - echo "Deploying.."
# stage: deploy - chmod +x ./_scripts/deploy_website.sh
# only: - ./_scripts/deploy_website.sh
# - master
# environment:
# name: website
# url: https://cmci.colorado.edu/cmci
# script:
# - echo "Building.."
# - chmod +x ./_scripts/build.sh
# - ./_scripts/build.sh
# - echo "Deploying.."
# - chmod +x ./_scripts/deploy_website.sh
# - ./_scripts/deploy_website.sh