@studyportals/product-deploy
v4.1.1
Published
Toolset to deploy StudyPortals products
Downloads
117
Readme
@studyportals/[email protected]
Toolset to deploy StudyPortals products
Modules
Classes
Functions
@studyportals/product-deploy
SimplePageTester : SimplePageTester
Kind: global class
new SimplePageTester(repo, url)
| Param | Type | Description | | --- | --- | --- | | repo | String | Name of the GitHub repository @deprecated | | url | String | The base url to test. |
simplePageTester.run(pages)
Executes simple accessibility tests to the specified pages.
If the pages cannot be reached, the test will be marked as failed.
Kind: instance method of SimplePageTester
| Param | Type | Description | | --- | --- | --- | | pages | Array.<String> | List of pages to test for statuscode 200 |
attachToGulp(gulp)
Attach the deploy tasks to gulp
Tasks:
- watch.cms
- deploy.cms
- watch.servicelayer
- deploy.servicelayer
Behaviour can be changed by changing these env vars:
- process.env.PRTL_ENV - Set the portal environment; @see ./lib/private/env
- process.env.PRTL_DEPLOYLOG_ENDPOINT - The endpoint to which to send deploylogs.
Kind: global function
| Param | Type | | --- | --- | | gulp | Gulp |
README.md generated at: Thu Aug 02 2018 17:31:55 GMT+0200 (W. Europe Summer Time)