Using Travis CI, I tried deploying this hexo site to firebase hosting.
It includes 1Gb of storage and 10 Gb of data transfer monthly. So it would be a huge increase compared to OVH Start1m plan (also free).
It also supports Custom domain (So I could host this site or a subdomain on Firebase) & free SSL certificates.
I used the doc on travis to do that: https://docs.travis-ci.com/user/deployment/firebase/
Then I tried to generate encryption keys using travis command line:
https://docs.travis-ci.com/user/encryption-keys/
Unfortunately, it failed:
$ travis |
From what I read here and there, it’s an issue with the last MacOS update (High Sierra).
Here is the fix:
sudo gem install -n /usr/local/bin travis |
Once this is fixed, it is possible to generate your encryption key:
travis encrypt "xyz<my ci key>wxy" --add deploy.token |
Note that this will produce a warning that you can ignore.
Here is the full .travis.yml file:
language: node_js |
The current version is stored here: https://github.com/tomap/tpi2.eu/blob/master/.travis.yml
And the result can be seen here: https://tpi-eu.firebaseapp.com/ (I added a specific robots.txt to disallow search engine indexing)
Travis build logs are available here: https://travis-ci.org/tomap/tpi2.eu