Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dominik-george.de
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nik | Klampfradler
dominik-george.de
Commits
2614c7f3
Verified
Commit
2614c7f3
authored
5 years ago
by
Nik | Klampfradler
Browse files
Options
Downloads
Patches
Plain Diff
Add CI config.
parent
bb43cb8b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#161
failed
5 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+26
-0
26 additions, 0 deletions
.gitlab-ci.yml
with
26 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
26
−
0
View file @
2614c7f3
image
:
python:3.8-buster
build
:
stage
:
build
before_script
:
-
apt-get -y update && apt-get -y install make pelican
script
:
-
make publish
artifacts
:
paths
:
-
output/
deploy_naturalnet
:
stage
:
deploy
only
:
-
master
before_script
:
-
apt-get -y update && apt-get -y install rsync openssh-client
-
eval $(ssh-agent -s)
-
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - >/dev/null
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
echo "$SSH_KNOWN_HOSTS" >~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
script
:
-
rsync -avzh --delete output/* $SSH_USERNAME@$SSH_HOST:/srv/www/dominik-george.de/www.dominik-george.de/
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