Skip to content

Build updates for CI#14

Open
anurag wants to merge 3 commits intoJukkaL:masterfrom
anurag:master
Open

Build updates for CI#14
anurag wants to merge 3 commits intoJukkaL:masterfrom
anurag:master

Conversation

@anurag
Copy link

@anurag anurag commented Mar 24, 2019

This PR makes it easy to host mypy-lang.org on Render or other CI driven hosts.

I work at Render, and a sample version is running on https://mypy-lang-ag.onrender.com.

Hosting it on Render as a free static site has a few benefits:

  1. Automatic SSL management, getting rid of the 'Not Secure' Chrome warning. Fixes Website inaccessible via https #12

image

  1. The site is quite fast already but Render hosts it on a global CDN which makes it consistently fast for all users.

  2. Render builds and deploys the site automatically on push, obviating copy-to-server.sh and allowing repo maintainers to update the site without SSH creds for mypy-lang.org.

Deployment on Render is trivial:

  1. Signup using invite code anurag

  2. Create a new Web Service and connect the GitHub repo to Render

  3. Use the following values during creation:

    Build command: ./scripts/build.sh

    Publish directory: out

  4. Add and verify mypy-lang.org as a custom domain (https://render.com/docs/custom-domains)

We'd love to host mypy-lang.org on Render!

anurag added 3 commits March 23, 2019 22:41
`out/static` isn't checked in to Git, so a fresh
clone of the repo fails to build with an exception.
@webknjaz
Copy link

(triaging hanging PRs)

@JukkaL looks like this PR can be safely disregarded. It's marketing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Website inaccessible via https

2 participants