Commit 4d22530b authored by Daniel Schubert's avatar Daniel Schubert 🎯

deployment automatisierung

parent 0e7a9339
- .git
- node_modules
- bower*
- linux-kurs.sublime*
- .gitignore
- deploy.sh
- .deploy-ignore
- ssh-nutzer.txt
- *.lock
- *.yml
\ No newline at end of file
#!/bin/bash
deploy() {
git push && rsync -r --exclude-from=.deploy-ignore . pax2ero:/home/dany/www/schubertdaniel/linuxkurs
}
deploy && echo "Deployed" || echo "### some error #####"
stages:
- deploy
pages:
stage: deploy
script:
- mkdir /home/dany/hallo
only:
- master
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment