Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
d3bf4015
Verified
Commit
d3bf4015
authored
6 months ago
by
Bartek Jaskulski
Browse files
Options
Downloads
Patches
Plain Diff
refactor: change variable names
Signed-off-by:
Bart Jaskulski
<
bjaskulski@protonmail.com
>
parent
22d95d16
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
includes/deploy/demo.yml
+4
-4
4 additions, 4 deletions
includes/deploy/demo.yml
with
4 additions
and
4 deletions
includes/deploy/demo.yml
+
4
−
4
View file @
d3bf4015
deploy:demo
:
image
:
gitlab.wpdesk.dev:5050/wpdesk/docker-tests/amazon-svn-deploy:24.09
variables
:
DEPLOY_TARGETS
:
DEMO_
DEPLOY_TARGETS
:
value
:
"
demo.wpdesk.org,demo.wpdesk.pl"
description
:
"
Override
this
variable
in
project's
.gitlab-ci.yml
to
support
other
servers.
List
supported
targets
separated
by
`,`.
You
may
also
use
short
name
for
deploy
target,
like
\"
wpdesk,octolize
\"
to
support
both
wpdesk
and
both
octolize
targets.
Currently
supported
targets:
demo.wpdesk.org,
demo.wpdesk.pl,
demo.octolize.com,
stage.demo.octolize.com,
demo.flexibleinvoices."
environment
:
...
...
@@ -28,7 +28,7 @@ deploy:demo:
-
if
:
$CI_COMMIT_TAG ==
null
when
:
never
# Omit if server is not in deploy targets
-
if
:
$DEPLOY_SERVER !~ $DEPLOY_TARGETS
-
if
:
$DEPLOY_SERVER !~ $
DEMO_
DEPLOY_TARGETS
when
:
never
# Specific server overrides
## demo.wpdesk.pl
...
...
@@ -46,13 +46,13 @@ deploy:demo:
variables
:
SSH_DSN
:
wlgmnfabmq@s125.cyber-folks.pl:/home/wlgmnfabmq/domains/demo.octolize.com/public_html/wp-content/plugins
SSH_PORT
:
222
GLOBAL_SSH_PRIV_KEY
:
$DEMO_FS_SSH_KEY
GLOBAL_SSH_PRIV_KEY
:
$DEMO_FS_SSH_KEY
_FILE
## stage.demo.octolize.com
-
if
:
$DEPLOY_SERVER == 'stage.demo.octolize.com'
variables
:
SSH_DSN
:
wlgmnfabmq@s125.cyber-folks.pl:/home/wlgmnfabmq/domains/stage.demo.octolize.com/public_html/wp-content/plugins
SSH_PORT
:
222
GLOBAL_SSH_PRIV_KEY
:
$DEMO_FS_SSH_KEY
GLOBAL_SSH_PRIV_KEY
:
$DEMO_FS_SSH_KEY
_FILE
## demo.flexibleinvoices.com
-
if
:
$DEPLOY_SERVER == 'demo.flexibleinvoices.com'
variables
:
...
...
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