- Use
gulp sass
to compile sass into css without affecting the rest of the source files - Use
gulp build
to build the website files into adist
directory, ready for uploading to any web server - Use
gulp deploy
to deploy thedist
directory to a web server, the details for which can be included as described below - Use
gulp build:deploy
to run the last two tasks,gulp build
andgulp deploy
all in one go
- Rename
sample.conf.json
toconf.json
- Fill in the ftp connection details
- Run
gulp deploy:test
to test the connection - if the output includes file names that means that the files on the server exist locally also - Run
gulp deploy