Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
counterstRAJk
OK1RAJ
Commits
c453405f
Commit
c453405f
authored
Oct 31, 2019
by
Ondřej Kučera
Browse files
Add .gitlab-ci.yml // autoupload to RAJ server
parent
1e825c50
Pipeline
#983
failed with stage
in 3 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
c453405f
before_script
:
-
apt-get update -qq
-
apt-get install -qq git
# Setup SSH deploy keys
-
'
which
ssh-agent
||
(
apt-get
install
-qq
openssh-client
)'
-
eval $(ssh-agent -s)
-
ssh-add <(echo "$SSH_PRIVATE_KEY")
-
mkdir -p ~/.ssh
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>
~/.ssh/config'
deploy_staging
:
type
:
deploy
environment
:
name
:
staging
url
:
example.com
script
:
-
scp de_raj.bsp csgoserver@ok1raj.cz/var/www/csgo.ok1raj.cz/csgo/maps/
-
scp de_raj.bsp csgoserver@ok1raj.cz/home/serverfiles/csgo/maps/
only
:
-
master
\ No newline at end of file
Write
Preview
Supports
Markdown
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