-
Notifications
You must be signed in to change notification settings - Fork 193
35 lines (32 loc) · 1.1 KB
/
generate-zip.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
name: Generate Plugin Zip
on:
workflow_dispatch:
inputs:
ref:
description: 'Git Commit Ref (branch, tag, or hash)'
required: true
type: string
production:
description: 'Is this a production build?'
default: false
type: boolean
slack_channel:
description: 'Slack channel ID to post to'
default: ''
required: false
type: string
slack_thread:
description: 'Slack thread to post to'
default: ''
required: false
type: string
jobs:
build:
uses: impress-org/givewp-github-actions/.github/workflows/generate-zip.yml@master
with:
ref: ${{ github.event.inputs.ref }}
plugin_slug: give
production: ${{ github.event.inputs.production }}
slack_channel: ${{ github.event.inputs.slack_channel }}
slack_thread: ${{ github.event.inputs.slack_thread }}
secrets: inherit