Commit 1dce5be1 authored by flo's avatar flo

Revert "improved CI script"

This reverts commit 38ae212c
parent 6ac9af59
Pipeline #111670192 passed with stage
in 1 minute and 45 seconds
image: ruby:2.3
cache:
paths:
- .apt
pages:
before_script:
- export LC_ALL="C.UTF-8"
- export LANG="en_US.UTF-8"
- export LANGUAGE="en_US.UTF-8"
# Configure apt chaching
- echo $CI_PROJECT_DIR
- export APT_DIR=$CI_PROJECT_DIR/.apt && export APT_STATE_LISTS=$APT_DIR/lists && export APT_CACHE_ARCHIVES=$APT_DIR/archives
- printf "dir::state::lists ${APT_STATE_LISTS};\ndir::cache::archives ${APT_CACHE_ARCHIVES};\n" > /etc/apt/apt.conf
- mkdir -p "${APT_STATE_LISTS}/partial" && mkdir -p "${APT_CACHE_ARCHIVES}/partial"
- apt-get update -y && apt-get install -yq rsync
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
......@@ -26,7 +16,7 @@ pages:
- gem install bundler
- bundle install
- bundle exec jekyll build -d public
- rsync -av --delete public/ git@guides.accessnow.org:/home/git/guides
- scp -r public/* git@guides.accessnow.org:/home/git/guides
artifacts:
paths:
- public
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment