Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nexapp/notify-deployment

Package Overview
Dependencies
Maintainers
8
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nexapp/notify-deployment

Notify slack for gitlab deployment

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
decreased by-15%
Maintainers
8
Weekly downloads
 
Created
Source

Notify-Deployment

Small lib to send slack notification about Gitlab deployment. It is less noisy then Gitlab since you can control on what environment you want it.

You must add in the repository CI/CD variables the slack URL for the bot.

 variables:
  SLACK_URL: $SLACK_URL

You can add a CI variable to easily reuse commands.

.notification:
  before_script:
    - npx @nexapp/notify-deployment --step start
  after_script:
    - npx @nexapp/notify-deployment --step finish

If there is already a before_script or after_script, you can merge them using references.

deploy/production:
  extends:
    - .deploy
  before_script:
    - !reference [.deploy, before_script]
    - !reference [.notification, before_script]
  after_script:
    - !reference [.notification, after_script]

Available argument:

npx @nexapp/notify-deployment --step (start|finish)

It customizes the message to notify when the deployment start and when it ends.

Keywords

FAQs

Package last updated on 29 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc