Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
uib-ub
Spesialsamlingene
admin components
Commits
b72f92cf
Commit
b72f92cf
authored
Dec 16, 2020
by
Øyvind gjesdal
Browse files
delete cache on commit
parent
fca6a941
Pipeline
#48879
passed with stages
in 1 minute and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b72f92cf
...
...
@@ -41,6 +41,7 @@ deploy_prod:
-
echo $MARCUS_PROD_KEY | base64 --decode | ssh-add -
script
:
-
rsync -v -r -e "ssh -o StrictHostKeyChecking=no" --exclude 'static/js/blackbox-search' --delete ./ $MARCUS_USER@["$MARCUS_SERVER"]:"$DEST"
-
ssh -6 $MARCUS_USER@"$MARCUS_SERVER" "sudo /usr/bin/find /var/www/html/marcus-prod/cache -regex .+ -type f -delete"
tags
:
-
spes
only
:
...
...
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