-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Travis config and add Netlify preview of example site
- Loading branch information
1 parent
be62c89
commit 615596b
Showing
7 changed files
with
32 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
language: python | ||
python: 3.6 | ||
cache: | ||
directories: | ||
- $HOME/.cache/pip | ||
- $HOME/.cache/lektor/builds | ||
python: 3.7 | ||
|
||
install: | ||
- "pip install -U pip" | ||
- "pip install Lektor" | ||
install: "ci/install.sh" | ||
|
||
script: | ||
- "cd example-site" | ||
- "lektor build -v" | ||
script: "ci/build.sh" | ||
|
||
deploy: | ||
provider: script | ||
script: "lektor deploy ghpages" | ||
script: "lektor deploy ghpages --output-path website-lektor-icon-build" | ||
on: | ||
branch: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash -ex | ||
|
||
cd example-site | ||
lektor build -v --output-path website-lektor-icon-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash -ex | ||
|
||
pip3 install -U pip | ||
pip3 install -U Lektor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../../../lektor-icon | ||
../.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Settings in the [build] context are global and are applied to all contexts | ||
# unless otherwise overridden by more specific contexts. | ||
[build] | ||
# Directory to change to before starting a build. | ||
# This is where we will look for package.json/.nvmrc/etc. | ||
# base = "project/" | ||
|
||
# Directory that contains the deploy-ready HTML files and assets generated by | ||
# the build. This is relative to the base directory if one has been set, or the | ||
# root directory if a base has not been set. This sample publishes the | ||
# directory located at the absolute path "root/project/build-output" | ||
publish = "example-site/website-lektor-icon-build/" | ||
|
||
# Default build command. | ||
command = "ci/install.sh && ci/build.sh" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.7 |