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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
6668e118
Commit
6668e118
authored
2 years ago
by
dyszczo
Browse files
Options
Downloads
Patches
Plain Diff
feat: deploy to license.wpdesk.dev with a version
parent
dc6e1190
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
includes/deploy.yml
+3
-1
3 additions, 1 deletion
includes/deploy.yml
with
3 additions
and
1 deletion
includes/deploy.yml
+
3
−
1
View file @
6668e118
...
...
@@ -141,7 +141,9 @@ deploy to license server:
script
:
-
apt-get install sshpass
-
ssh-keyscan ${WPDESK_LICENSE_HOST} >> ~/.ssh/known_hosts
-
sshpass -p ${WPDESK_LICENSE_PASSWORD} scp -o StrictHostKeyChecking=no release.zip plugin_deploy@${WPDESK_LICENSE_HOST}:/var/www/license/var/files/${CI_PROJECT_NAME}.zip
-
sshpass -p ${WPDESK_LICENSE_PASSWORD} ssh plugin_deploy@${WPDESK_LICENSE_HOST} "rm /var/www/license/var/files/${CI_PROJECT_NAME}.zip"
-
sshpass -p ${WPDESK_LICENSE_PASSWORD} scp release.zip plugin_deploy@${WPDESK_LICENSE_HOST}:/var/www/license/var/files/${CI_PROJECT_NAME}.zip
-
sshpass -p ${WPDESK_LICENSE_PASSWORD} scp release.zip plugin_deploy@${WPDESK_LICENSE_HOST}:/var/www/license/var/files/${CI_PROJECT_NAME}-${CI_COMMIT_REF_NAME}.zip
-
'
curl
-X
POST
--data-urlencode
"payload={\"text\":
\"Projekt
<${CI_PROJECT_URL}|${CI_PROJECT_NAME}>
zdeployowany
do
systemu
licencji
w
wersji
${CI_COMMIT_REF_NAME}\",
}"
https://hooks.slack.com/services/${SLACK_AUTH}'
environment
:
name
:
wpdesk license server
...
...
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