Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
build.postmarketos.org
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
postmarketOS
build.postmarketos.org
Commits
b539c5f0
Unverified
Commit
b539c5f0
authored
5 months ago
by
Luca Weiss
Committed by
Oliver Smith
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Add documentation deploy step to CI (MR 105)
parent
a5ef8d75
No related branches found
Branches containing commit
No related tags found
1 merge request
!105
docs: creation of basic structure
Pipeline
#210406
failed
4 months ago
Stage: test
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+15
-0
15 additions, 0 deletions
.gitlab-ci.yml
with
15 additions
and
0 deletions
.gitlab-ci.yml
+
15
−
0
View file @
b539c5f0
...
...
@@ -40,6 +40,21 @@ docs:
paths
:
-
public
deploy
:
only
:
-
master
stage
:
deploy
before_script
:
-
apk -q add openssh-client rsync
script
:
-
mkdir "${HOME}/.ssh"
-
echo "${SSH_HOST_KEY}" > "${HOME}/.ssh/known_hosts"
-
echo "${SSH_PRIVATE_KEY}" > "${HOME}/.ssh/id_ed25519"
-
chmod 700 "${HOME}/.ssh/id_ed25519"
-
rsync -hrvz --delete -e "ssh -p ${SSH_PORT}" public/ "${SSH_HOST}":/var/www/docs.postmarketos.org/bpo/
environment
:
name
:
deploy
pytest
:
image
:
"
alpine:3.18"
# has sqlalchemy<2.0
before_script
:
...
...
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