File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ # The blog source is in the site branch
2+ # so we want to only build when a push has been made to that branch
3+ branches :
4+ only :
5+ - site
6+ git :
7+ depth : false
8+
9+ # This gives us full control over what we intend to do
10+ # in the job
11+ language : generic
12+ # Needed for docker
13+ sudo : required
14+ services :
15+ - docker
16+
17+ # Specify the github pages deploy provider
18+ deploy :
19+ provider : pages
20+ skip-cleanup : true
21+ github-token : $GITHUB_TOKEN # Set in travis-ci.org dashboard
22+ on :
23+ branch : site
24+ target-branch : master
25+ local-dir : output
26+ fqdn : echorand.me # This updates the repository settings in GitHub and also adds a CNAME file in the master branch
27+ verbose : true
28+ before_install :
29+ - docker build -t amitsaha/pelican .
30+ install :
31+ - docker run -v `pwd`:/site:Z -t amitsaha/pelican
You can’t perform that action at this time.
0 commit comments