Skip to content

Let your Travis CI wait for the Netlify build preview

License

Notifications You must be signed in to change notification settings

Developmint/wait-for-netlify-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
Dec 22, 2019
Apr 3, 2019
Jan 9, 2019
Jan 9, 2019
Jan 9, 2019
Jan 9, 2019
Apr 20, 2019
Jan 9, 2019
Aug 4, 2019
Jan 9, 2019
Jan 9, 2019
Apr 3, 2019
May 13, 2019
Jan 9, 2019
May 13, 2019

Repository files navigation

wait-for-netlify-preview

Let your Travis CI wait for the Netlify build preview

npm (scoped with tag) npm Build Status codecov Dependencies js-standard-style thanks

📖 Release Notes

Setup

Yarn

$ yarn add wait-for-netlify-preview

npm

$ npm install --save wait-for-netlify-preview

Usage

Requires the following environment variables:

  • GITHUB_API_TOKEN with repo_deployment scope
  • TRAVIS_PULL_REQUEST_SHA (automatically provided by travis)
  • TRAVIS_REPO_SLUG (automatically provided by travis)
$ wait-for-netlify-preview

An example .travis.yml can be found here soon!

Development

  • Clone this repository
  • Install dependencies using yarn install or npm install
  • Start development server using npm run dev

Inspiration

Inspired by wait-for-now

License

MIT License

Copyright (c) Alexander Lichter