https://github.com/chantouchsek/nuxt-deploy-notifier
This module provides a simple Slack notification of your deployment after success.
https://github.com/chantouchsek/nuxt-deploy-notifier
build deployment notifications nuxt nuxt-build nuxt-deployment nuxt-notification slack
Last synced: 2 months ago
JSON representation
This module provides a simple Slack notification of your deployment after success.
- Host: GitHub
- URL: https://github.com/chantouchsek/nuxt-deploy-notifier
- Owner: chantouchsek
- License: mit
- Created: 2021-06-29T10:25:05.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-05T07:26:19.000Z (almost 5 years ago)
- Last Synced: 2025-01-15T10:55:35.272Z (over 1 year ago)
- Topics: build, deployment, notifications, nuxt, nuxt-build, nuxt-deployment, nuxt-notification, slack
- Language: JavaScript
- Homepage:
- Size: 154 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuxt Build Notifier
[](https://npmjs.com/package/nuxt-deploy-notifier)
[](LICENSE)
[](https://npmjs.com/package/nuxt-deploy-notifier)
[](https://npmjs.com/package/nuxt-deploy-notifier)
This module provides a simple Slack notification of your deployment after success.
## Installation
```sh
yarn add nuxt-deploy-notifier
```
## Usage
Simply add the module to your nuxt config:
```js
export default {
buildModules: [
'nuxt-deploy-notifier',
],
}
```
And define any applicable options:
```js
export default {
deployNotifiers: {
appName: null, // required
slackChannel: null, // required
slackWebhookUrl: null, // required
},
}
```
## Options
The following options are available:
### `APP_URL`
- Type: `string`
- Required: `true`
- Description: `Set this from .env file`
### `appName`
- Type: `string`
- Required: `true`
- Description: `The application name`
### `slackWebhookUrl`
- Type: `string`
- Required: `true`
### `slackChannel`
- Type: `string`
- Required: `true`
The webhook url to send the Slack notification to your channel of choice. For information on how to setup a webhook, check out the [Slack Documentation](https://api.slack.com/messaging/webhooks). If no value is supplied, no notification will be sent.
# Contact
Email: chantouchsek.cs83@gmail.com
Twitter [@DevidCs83](https://twitter.com/DevidCs83)
## License
This package is under the [MIT License](LICENSE).