Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

CI: Add a netlify configuration#32

Merged
bogwar merged 2 commits intodfinity:masterfrom
nomeata:master
May 13, 2022
Merged

CI: Add a netlify configuration#32
bogwar merged 2 commits intodfinity:masterfrom
nomeata:master

Conversation

@nomeata
Copy link
Copy Markdown
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
@ghost ghost added the cla:agreed label Apr 12, 2022
@nomeata nomeata mentioned this pull request Apr 12, 2022
@nomeata
Copy link
Copy Markdown
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
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Push to netlify?

2 participants