Commit e4c36b29 authored by Frank Fesevur's avatar Frank Fesevur

no before_script in task because it overrides the global

parent 244054d5
Pipeline #35145949 passed with stage
in 1 minute and 19 seconds
...@@ -29,7 +29,7 @@ production: ...@@ -29,7 +29,7 @@ production:
- master - master
except: except:
- branches - branches
before_script: script:
# Add the required packages # Add the required packages
- apt-get update -qq && apt-get install -y -qq openssh-client rsync - apt-get update -qq && apt-get install -y -qq openssh-client rsync
...@@ -45,7 +45,7 @@ production: ...@@ -45,7 +45,7 @@ production:
# you will overwrite your user's SSH config. # you will overwrite your user's SSH config.
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script:
# Build the website # Build the website
- bundle exec jekyll build - bundle exec jekyll build
# Sync to the server # Sync to the server
......
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