You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/actions/theme-slack-notification-release/action.yml
+1-95Lines changed: 1 addition & 95 deletions
Original file line number
Diff line number
Diff line change
@@ -7,72 +7,24 @@ inputs:
7
7
PACKAGE_VERSION:
8
8
required: true
9
9
description: 'Release version'
10
-
BUILD_ZIP_PATH:
11
-
required: true
12
-
description: 'Path to theme zip file'
13
-
GITHUB_RELEASE_URL:
14
-
required: true
15
-
description: 'GitHub release URL'
16
10
SLACK_CHANNEL:
17
11
required: false
18
12
default: '#tmz-hello-delivery'
19
13
description: 'Slack channel to send notification to'
20
-
WPORG_DEPLOYMENT_STATUS:
21
-
required: false
22
-
default: 'skipped'
23
-
description: 'WordPress.org deployment status (deployed|skipped|disabled)'
24
14
25
15
runs:
26
16
using: 'composite'
27
17
steps:
28
-
- name: Prepare deployment message
29
-
id: deployment-message
30
-
shell: bash
31
-
run: |
32
-
case "${{ inputs.WPORG_DEPLOYMENT_STATUS }}" in
33
-
"deployed")
34
-
MESSAGE="📦 *WordPress.org Deployment*\\n• ✅ Automatically deployed to WordPress.org\\n• Theme available at: https://wordpress.org/themes/hello-elementor/\\n• No manual upload required! 🎉"
35
-
;;
36
-
"disabled")
37
-
MESSAGE="📦 *WordPress.org Deployment*\\n• ⚠️ Disabled in configuration\\n• Manual upload required to WordPress.org\\n• Download zip from GitHub release below"
38
-
;;
39
-
*)
40
-
MESSAGE="📦 *WordPress.org Deployment*\\n• ⚠️ Skipped (deploy_to_wporg: false)\\n• Manual upload required to WordPress.org\\n• Download zip from GitHub release below"
0 commit comments