Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
chaotikum
website
Commits
3588d8d0
Unverified
Commit
3588d8d0
authored
4 years ago
by
Lukas Ruge
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
ssh://git.chaotikum.org:617/chaotikum/website
parents
5e56b2d9
c482b4d5
No related branches found
No related tags found
No related merge requests found
Pipeline
#2230
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+37
-16
37 additions, 16 deletions
.gitlab-ci.yml
_events/20200615-nookorga.markdown
+1
-1
1 addition, 1 deletion
_events/20200615-nookorga.markdown
with
38 additions
and
17 deletions
.gitlab-ci.yml
+
37
−
16
View file @
3588d8d0
stages
:
-
deploy
#muss als root, wird daher manuell gemacht
#before_script:
# - gem install bundler
image
:
malteschmitz/ruby:2.6.6
# Cache modules in between jobs
cache
:
paths
:
-
vendor/
key
:
${CI_COMMIT_REF_SLUG}
paths
:
-
vendor/
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")
# For Docker builds disable host key checking. Be aware that by adding that
# you are suspectible to man-in-the-middle attacks.
# WARNING: Use this only with the Docker executor, if you use it with shell
# you will overwrite your user's SSH config.
# - mkdir -p ~/.ssh
# - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
# In order to properly check the server's host key, assuming you created the
# SSH_SERVER_HOSTKEYS variable previously, uncomment the following two lines
# instead.
-
mkdir -p ~/.ssh
-
'
[[
-f
/.dockerenv
]]
&&
echo
"$SSH_SERVER_HOSTKEY"
>
~/.ssh/known_hosts'
deploy_site
:
stage
:
deploy
only
:
-
master
script
:
-
env LANG=en_US.UTF-8 bundle install --path=vendor/
-
env LANG=en_US.UTF-8 bundle exec jekyll build
-
rsync -av --delete-after _site/ chaotikum-org@web:_site/
deploy
:
only
:
-
master
tags
:
-
docker
script
:
-
bundle install --path=vendor/
-
bundle exec jekyll build
-
rsync -av --delete-after _site/ chaotikum-org@[2a01:4f8:160:3067::a]:_site/
This diff is collapsed.
Click to expand it.
_events/20200615-nookorga.markdown
+
1
−
1
View file @
3588d8d0
...
...
@@ -2,7 +2,7 @@
layout
:
[
eventcal
]
title
:
"
NooK
Orga
Online"
image
:
"
/assets/wall.png"
eventdate
:
2020-06-15
20
:00:00 +0200
eventdate
:
2020-06-15
19
:00:00 +0200
eventend
:
2020-06-15 22:00:00 +0200
#https://www.uuidgenerator.net/
uid
:
31672320-21ce-44f6-b934-f65ddf30c2f7
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment