-
Notifications
You must be signed in to change notification settings - Fork 26
78 lines (71 loc) · 2.41 KB
/
03-apps.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
################################################################################
# The setups in this file belong to the project https://code.shin.company/php
# I appreciate you respecting my intellectual efforts in creating them.
# If you intend to copy or use ideas from this project, please credit properly.
# Author: SHIN Company <shin@shin.company>
# License: https://code.shin.company/php/blob/main/LICENSE
################################################################################
name: Publish PHP Apps
################################################################################
################################################################################
on:
workflow_call:
inputs:
tag_prefix:
required: false
type: string
default: ""
build_all:
required: false
type: boolean
default: false
workflow_dispatch:
workflow_run:
workflows: [Publish PHP Servers]
types:
- completed
################################################################################
################################################################################
jobs:
php-apps:
# See: https://docs.github.com/en/webhooks/webhook-events-and-payloads#workflow_run
if: ${{ github.event.workflow_run.conclusion == '' || github.event.workflow_run.conclusion == 'success' }}
uses: ./.github/workflows/template-php.yml
secrets: inherit
strategy:
max-parallel: 11
matrix:
app:
- app-bedrock
- app-cakephp4
- app-cakephp5
- app-codeigniter4
- app-drupal
- app-espocrm
- app-flarum
- app-grav
- app-hyperf
- app-invoiceshelf
- app-kirby
- app-laminas
- app-laravel
- app-magento
- app-mautic
- app-phpmyadmin
- app-slim
- app-spiral
- app-statamic
- app-sulu
- app-symfony
- app-wordpress
- app-yii
# include:
# - app: app-laravel
# server: [apache, nginx]
with:
app_name: ${{ matrix.app }}
server: ${{ matrix.server }}
tag_prefix: ${{ inputs.tag_prefix }}
build_all: ${{ inputs.build_all }}
################################################################################
################################################################################