lighthousebot icon indicating copy to clipboard operation
lighthousebot copied to clipboard

Integrate with now

Open ebidel opened this issue 7 years ago • 2 comments

Zeit now (lolz) supports auto-deploying PRs and commits: https://zeit.co/blog/now-for-github

We should have an easy path for users that want to use this as their deployment vehicle.

ebidel avatar Jun 27 '18 17:06 ebidel

@ebidel I'd love to look into this issue

soleo avatar Oct 10 '18 01:10 soleo

I built a small little package to help with this: wait-for-now

I got it to work with the jobs syntax like so:

    - stage: lighthouse
      if: type = pull_request
      install: yarn add --dev ebidel/lighthouse-ci wait-for-now
      script: lighthouse-ci "$(wait-for-now)"

See: https://github.com/wyze/wyze.github.io/blob/bd71f4ac9e843886f4f6c530415aab3280d558dc/.travis.yml#L28-L31

And here is the PR where I added the functionality to my repo: https://github.com/wyze/wyze.github.io/pull/6

wyze avatar Oct 21 '18 00:10 wyze