Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Add a netlify configuration #32

Merged
merged 2 commits into from
May 13, 2022
Merged

CI: Add a netlify configuration #32

merged 2 commits into from
May 13, 2022

Conversation

nomeata
Copy link
Contributor

@nomeata nomeata commented Apr 12, 2022

It is really very useful use to have rendered previews of PRs easily available online, and also of the master branch, and Netlify is the easiest way to to achieve that.

This PR, which fixes #9, provides a simple netlify configuration using the existing nix builds. No further configuration or infrastructure is needed (e.g. no extra caches or such).

So all we need to get this live is

  • merge this PR
  • someone with sufficient permissions creates a new site at netlify (I suggest ic-interface-spec.netlify.app to begin with) and adds this repo

I think the default configuration works just fine, and will create preview deployes for PRs.

They will look like this: https://ic-spec-pr-preview.netlify.app/

@nomeata nomeata requested a review from a team as a code owner April 12, 2022 07:14
@nomeata nomeata mentioned this pull request Apr 12, 2022
@nomeata
Copy link
Contributor Author

nomeata commented May 3, 2022

Quite silent here…

@jwiegley @Dfinity-Bjoern, do you reliably get notified upon new PRs, or should I ping you explicitly?

It would be good to get this or something like this in, to be able to link to the master version of the spec like we used to in the days of hydra.

@netlify
Copy link

netlify bot commented May 13, 2022

Deploy Preview for ic-interface-spec ready!

Name Link
🔨 Latest commit 62826f4
🔍 Latest deploy log https://app.netlify.com/sites/ic-interface-spec/deploys/627e35a0353c450008f93063
😎 Deploy Preview https://deploy-preview-32--ic-interface-spec.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@bogwar bogwar merged commit 7435fab into dfinity:master May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Push to netlify?
2 participants