1.2.1 • Published 7 years ago
wait-for-netlify-preview v1.2.1
wait-for-netlify-preview
Let your Travis CI wait for the Netlify build preview
Setup
Yarn
$ yarn add wait-for-netlify-previewnpm
$ npm install --save wait-for-netlify-previewUsage
Requires the following environment variables:
GITHUB_API_TOKENTRAVIS_PULL_REQUEST_SHATRAVIS_REPO_SLUG
$ wait-for-netlify-previewAn example .travis.yml can be found here soon!
Development
- Clone this repository
- Install dependencies using
yarn installornpm install - Start development server using
npm run dev
Inspiration
Inspired by wait-for-now
License
Copyright (c) Alexander Lichter