Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Send Firebase notifications cf-firebase-messaging
Send notification messages to Firebase.
arguments
send-message:
title: Send firebase notification
type: firebase-messaging
arguments:
FIREBASE_MESSAGE_TOPIC: test
FIREBASE_REGISTRATION_TOKENS: |-
[
"AldineoDI2Ldio....",
"AldineoDI2Ldio....",
]
FIREBASE_MESSAGE_DATA: |-
{
"test": "test"
}
FIREBASE_NOTIFICATION: |-
{
"title": "test",
"body": "test"
}