Re:Stylelint – A modern linter for CSS
by yakshaving_jgt on Tuesday February 05, 2019 @10:36AM
(#19086197)
Right, but why would you need to? You said you were more comfortable in bash, so why not just do it in bash? Or Make?
#!/usr/bin/bash
set -e
git push origin master
rsync -crz \
--exclude-from='rsync-exclude.txt' \
--delete _site/ \
[email protected]:/home/cfinazzo1/chrisfinazzo.com
Stick that in a file called `deploy`, run `chmod +x deploy`, and then you can invoke it with `./deploy`.Make would be something similar. In fact your entire Gulpfile in Make would look like this:
.PHONY: doctor build serve deploy
doctor:
bundle exec jekyll doctor
build: doctor
time bundle exec jekyll build --incremental
serve: doctor
time bundle exec jekyll serve --incremental
deploy:
git push origin master
rsync -crz \
--exclude-from='rsync-exclude.txt' \
--delete _site/ [email protected]:/home/cfinazzo1/chrisfinazzo.com
[1]: https://raw.githubusercontent.com/chrisfinazzo/blog/master/g...