Revert to _build scripts
This commit is contained in:
parent
9db25c60c1
commit
fe347a7b3c
@ -4,30 +4,22 @@ stages:
|
||||
- deploy
|
||||
|
||||
before_script:
|
||||
# - apt-get update -qq && apt-get install -y -qq libcurl4-openssl-dev lftp
|
||||
- apt-get update -qq && apt-get install -y -qq rsync sshpass
|
||||
- apt-get update -qq && apt-get install -y -qq libcurl4-openssl-dev lftp
|
||||
- bundle install
|
||||
- gem install jekyll
|
||||
- gem install jekyll-deploy
|
||||
|
||||
only:
|
||||
- master
|
||||
script:
|
||||
- jekyll build
|
||||
- jekyll deploy
|
||||
|
||||
#deploy_script:
|
||||
# stage: deploy
|
||||
# only:
|
||||
# - 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
|
||||
deploy_script:
|
||||
stage: deploy
|
||||
only:
|
||||
- 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user