-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathaction.yml
45 lines (45 loc) · 1.35 KB
/
action.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
name: 'Cloudflare Pages Slack Notification'
description: 'Wait for Cloudflare Pages to build and send Slack notification'
author: 'arddluma'
inputs:
accountEmail:
description: 'Cloudflare account email (Not recommended)'
required: false
apiKey:
description: 'Cloudflare API Key (Not recommended)'
required: false
apiToken:
description: 'Cloudflare API Token (Recommended)'
required: false
accountId:
description: 'Cloudflare account ID'
required: true
project:
description: 'Pages project name'
required: true
githubToken:
description: 'GitHub Token to use for deployments (GITHUB_TOKEN secret or your own token!) - OPTIONAL (Only used for GitHub Deployments)'
required: false
commitHash:
description: 'The commit hash of the commit triggered the target deployment'
required: true
slackWebHook:
description: 'Slack incoming webhook url'
required: false
outputs:
id:
description: 'Deployment ID'
environment:
description: 'Environment for this deployment, either "production" or "preview"'
url:
description: 'URL of the deployment'
alias:
description: 'Alias URL of the branch (for example: fix-navbar.project.pages.dev)'
success:
description: 'If the build passed or failed'
runs:
using: 'node16'
main: 'dist/action.js'
branding:
icon: 'cloud'
color: 'orange'