PR: Add Travis CI building and deployment to theme example site #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR sets up the example site to build and deploy automatically to Github pages using Travis CI, as well as check that every PR at least builds successfully.
To complete the process, @ccordoba12 I either need admin on this repo, or you need to:
1 Activate Travis CI for this repo
2. Add your environment variables
LEKTOR_DEPLOY_USERNAME
andLEKTOR_DEPLOY_PASSWORD
with your username and a personal access token (or a bot's, etc) in the Travis settings there3. Trigger a build on this PR and make sure it works
4. Activate Github pages for this repo in the Github repo settings
5. Activate branch protection on
master
andgh-pages
, restrict push access to both to admins and e.g. members of thewebsite
team (which you should presumably add me to :) ) and require reviews and status checks onmaster
.Finally, this can be merged, and the demo site should go live.