Skip to content

ziv-codefresh/release-to-npm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README:

The release-to-npm can be used to publish images to npm. The below pipeline configuration demonstrates simple usage:

EXAMPLE:

deploy_to_npm:  
  title: Publishing To Npm 
  image: codefresh/release-to-npm
  commands:
  - NPM_TOKEN=${{NPM_TOKEN}} npm run ci-publish 
  when:   
    branch: 
      only: [ master ]

Parameter Reference:

NPM_TOKEN : token of npm account

for get the token please see https://docs.npmjs.com/private-modules/ci-server-config#getting-an-authentication-token

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published