File tree 3 files changed +38
-0
lines changed
3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,22 @@ test:php:modules:
95
95
tags :
96
96
- docker
97
97
98
+ deployEditorsBundle :
99
+ image : node:8.6.0
100
+ stage : deploy
101
+ script :
102
+ - bash ci/deploy-editors-bundle.sh
103
+ tags :
104
+ - docker
105
+
106
+ deployAssetsBundle :
107
+ image : node:8.6.0
108
+ stage : deploy
109
+ script :
110
+ - bash ci/deploy-assets-bundle.sh
111
+ tags :
112
+ - docker
113
+
98
114
deploying :
99
115
image : wpbakery/ci-wordpress-npm
100
116
stage : deploy
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ output=$( git log --name-only HEAD~1..HEAD public/sources/assetsLibrary)
4
+
5
+ if [ -z " $output " ]
6
+ then
7
+ exit 0
8
+ else
9
+ echo " curl -X GET -H 'Content-type: application/json' \" $CI_HUB_GROUP_TEST_DOMAIN /api/inner/bundle/create?key=$CI_HUB_GROUP_ELEMENTS_BUILD_KEY &bundle=assets&version=latest&name=Assets\" "
10
+ curl -X GET -H ' Content-type: application/json' " $CI_HUB_GROUP_TEST_DOMAIN /api/inner/bundle/create?key=$CI_HUB_GROUP_ELEMENTS_BUILD_KEY &bundle=assets&version=latest&name=Assets"
11
+ fi
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ output=$( git log --name-only HEAD~1..HEAD public/editor public/sources/attributes public/sources/css public/sources/fonts public/sources/images public/sources/less)
4
+
5
+ if [ -z " $output " ]
6
+ then
7
+ exit 0
8
+ else
9
+ echo " curl -X GET -H 'Content-type: application/json' \" $CI_HUB_GROUP_TEST_DOMAIN /api/inner/bundle/create?key=$CI_HUB_GROUP_ELEMENTS_BUILD_KEY &bundle=editors/editors&version=latest&name=Editors\" "
10
+ curl -X GET -H ' Content-type: application/json' " $CI_HUB_GROUP_TEST_DOMAIN /api/inner/bundle/create?key=$CI_HUB_GROUP_ELEMENTS_BUILD_KEY &bundle=editors/editors&version=latest&name=Editors"
11
+ fi
You can’t perform that action at this time.
0 commit comments