-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 956 Bytes
/
notify.yml
File metadata and controls
33 lines (31 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Notify
on:
workflow_call:
inputs:
data:
required: true
type: string
secrets:
notify_server:
required: false
notify_token:
required: false
pushplus_notify_token:
required: false
pushplus_notify_server:
required: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Notify
run: |
node notify.js
env:
data: ${{ inputs.data }}
notify_server: ${{ secrets.notify_server }}
notify_token: ${{ secrets.notify_token }}
pushplus_notify_token: ${{ secrets.pushplus_notify_token }}
pushplus_notify_server: ${{ secrets.pushplus_notify_server }}