Commit 074a9281 authored by Christophe Picard's avatar Christophe Picard
Browse files

Update .gitlab-ci.yml

parent 28683c4e
Pipeline #58978 passed with stages
in 22 seconds
#image: beva/hugo:latest
image: beva/hugo:latest
#pages:
# script:
# - hugo --gc --minify
# artifacts:
# paths:
# - public
# only:
# - master
image: gitlab/dind:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
COMPOSE: docker-compose
before_script:
# Install ssh-agent if not already installed, it is required by Docker.
# (change apt-get to yum if you use a CentOS-based image)
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
# Run ssh-agent (inside the build environment)
- eval $(ssh-agent -s)
# Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
- ssh-add <(echo "$SSH_PRIVATE_KEY")
pages:
script:
- ls
- hugo --baseURL https://membres-ljk.imag.fr/Christophe.Picard/
- rsync -rltv public/* /var/www/html/membres/Christophe.Picard
- hugo --gc --minify
artifacts:
paths:
- public
- public
only:
- master
\ No newline at end of file
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