Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lagoproject.net
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
LAGO
lagoproject.net
Commits
54d89de2
Commit
54d89de2
authored
2 years ago
by
Alexander Martínez Méndez
Browse files
Options
Downloads
Patches
Plain Diff
Desplegar plantilla
parent
f7598410
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+37
-0
37 additions, 0 deletions
.gitlab-ci.yml
with
37 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
37
−
0
View file @
54d89de2
image
:
python:3.9-buster
before_script
:
-
pip install -r requirements.txt
-
apt-get update
-
apt-get --yes install rsync bash
-
'
command
-v
ssh-agent
>/dev/null
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
eval $(ssh-agent -s)
-
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
test
:
stage
:
test
script
:
#- mkdocs build --strict --verbose --site-dir test
-
mkdocs build --verbose --site-dir test
artifacts
:
paths
:
-
test
except
:
-
master
deploy
:
stage
:
deploy
only
:
-
master
script
:
-
mkdocs build --site-dir public
-
echo "build"
-
rsync -ah public/* semillero-halley@class.redclara.net:~/lago/
artifacts
:
paths
:
-
public
expire_in
:
10 mins
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