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
fe6df823
Commit
fe6df823
authored
2 years ago
by
dyszczo
Browse files
Options
Downloads
Patches
Plain Diff
fix: try to remove even if file doest not exists
parent
6668e118
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
+1
-1
1 addition, 1 deletion
includes/deploy.yml
with
1 addition
and
1 deletion
includes/deploy.yml
+
1
−
1
View file @
fe6df823
...
...
@@ -141,7 +141,7 @@ deploy to license server:
script
:
-
apt-get install sshpass
-
ssh-keyscan ${WPDESK_LICENSE_HOST} >> ~/.ssh/known_hosts
-
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} ssh plugin_deploy@${WPDESK_LICENSE_HOST} "rm
-f
/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}'
...
...
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