mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 03:22:37 +02:00
Use travis to host the site on github
This commit is contained in:
parent
de7d4dc9a6
commit
1a551941be
3 changed files with 15 additions and 0 deletions
11
.travis.yml
Normal file
11
.travis.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
language: python
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
install:
|
||||||
|
- pip install pelican ghp-import
|
||||||
|
script:
|
||||||
|
- make github
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
secure: ae9yhrae4XZIsBHRFGLUaRowFKYP9nQSbiSyu/ueXLOEIqMyDvuz7gwuOPaikOYKyOWJ6N9rQ6keWFNlCzuCop9OP2RBG3nEnHuD1oPoHig9w00hzKB9ME1RTI+moPQZBnLxR0e5Xb3D0lGsf3RKhaJI9RrkGxcxuJYx50m8t4w=
|
4
Makefile
4
Makefile
|
@ -11,3 +11,7 @@ serve: html
|
||||||
|
|
||||||
regenerate: serve
|
regenerate: serve
|
||||||
$(PELICAN) -r -s pelican.conf.py content
|
$(PELICAN) -r -s pelican.conf.py content
|
||||||
|
|
||||||
|
github: html
|
||||||
|
ghp-import -n $(OUTPUTDIR)
|
||||||
|
@git push -fq https://${GH_TOKEN}@github.com/$(TRAVIS_REPO_SLUG).git gh-pages > /dev/null
|
||||||
|
|
BIN
pelican.conf.pyc
BIN
pelican.conf.pyc
Binary file not shown.
Loading…
Reference in a new issue