Faster PR builds & use Travis CI's deploy phase (#985)

- Always run `npm test` during CI runs
- Do a quick development build during `npm test`
- Only run full production build before deployment
- Replace `buildAndDeploy.sh` by `deploy.sh` which deploys an existing
  production build and is also usable outside of a Travis CI context
- Unchanged: Only deploy on commits to master (not when checking PRs)
4 files changed
tree: 6e9a0fead880d9335049248265a6f6d91bbf7bae
  1. .github/
  2. conf/
  3. doc/
  4. tools/
  5. www/
  6. .eslintrc.yml
  7. .gitignore
  8. .travis.yml
  9. CONTRIBUTING.md
  10. Gemfile
  11. gulpfile.js
  12. LICENSE
  13. NOTICE
  14. package.json
  15. README.md
  16. VERSION
README.md

Build Status

Cordova Docs / Website

This repository contains the source code for the Cordova website at cordova.apache.org.

The site is also reachable with the short domain cordova.io, the important subareas as docs.cordova.io, blog.cordova.io and plugins.cordova.io.

Technical Overview

The main parts are built as a static site with Jekyll, containing the homepage and subpages, the blog and the docs.
The plugin search is an embedded PreactJS application.

Here in the repository the code of the actual site is located in /www with its subfolder /docs, /blog and /plugins.
Some additional content is pulled in during the build process.

The site is built using a gulp script that is run by Node.JS (npm run-script build). (Alternatively you can build the site using Make.) Deployments usually happen on commits to master via Travis, which runs buildAndDeploy.sh and commits the built site to a SVN repository.

Instructions

Common Tasks

Attributions

For attributions for used open-source work, please see the attributions page: www/attributions.html.