Skip to content
Snippets Groups Projects
Commit 26304a5a authored by Yan Grange's avatar Yan Grange :wave:
Browse files

Merge branch 'deploy-exclude-me' into 'deploy'

Exclude CI file when pushing to web server

See merge request !7
parents d739a22b e5a7b1ca
No related branches found
No related tags found
1 merge request!7Exclude CI file when pushing to web server
Pipeline #12914 passed
...@@ -23,7 +23,7 @@ deploy-pages: ...@@ -23,7 +23,7 @@ deploy-pages:
- ssh-keyscan dop276.astron.nl >> ~/.ssh/known_hosts - ssh-keyscan dop276.astron.nl >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
script: script:
- rsync . -avr --exclude ".git/" grange@dop276.astron.nl:/export/astron/grange/public_html/vonl/ - rsync . -avr --exclude ".git/" --exclude ".gitlab-ci.yml" grange@dop276.astron.nl:/export/astron/grange/public_html/vonl/
only: only:
- deploy - deploy
- deploy-debug - deploy-debug
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment