Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Librem5
developer.puri.sm
Commits
af3d4ee2
Commit
af3d4ee2
authored
Aug 08, 2019
by
David Boddie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only publish from master in the main repository
parent
8e1d7725
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.gitlab-ci.yml
.gitlab-ci.yml
+3
-3
No files found.
.gitlab-ci.yml
View file @
af3d4ee2
...
...
@@ -31,7 +31,7 @@ publish:
-
librem5
script
:
# Don't publish in forks
#
- '[ "$CI_PROJECT_NAMESPACE" == "Librem5" ] || exit 0'
-
'
[
"$CI_PROJECT_NAMESPACE"
==
"Librem5"
]
||
exit
0'
-
mkdir -p ~/.ssh/
-
chmod 0700 ~/.ssh/
-
echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
...
...
@@ -39,5 +39,5 @@ publish:
-
chmod 0600 ~/.ssh/id_rsa
-
echo "$SSH_KEY" >> ~/.ssh/id_rsa
-
rsync -av -i --stats -e "ssh -l $SSH_USER -i ~/.ssh/id_rsa -p $SSH_PORT" _build/html/ "$RSYNC_TARGET"
#
only:
#
- master
only
:
-
master
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment