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/workflows/package_trigger.yml
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4,25 +4,25 @@ on:
4
4
workflow_dispatch:
5
5
6
6
jobs:
7
-
package-trigger-master:
7
+
package-trigger-3-13-php8:
8
8
runs-on: ubuntu-latest
9
9
steps:
10
10
- uses: actions/checkout@v2.3.3
11
11
12
12
- name: Package Trigger
13
-
if: github.ref == 'refs/heads/master'
13
+
if: github.ref == 'refs/heads/3.13-php8'
14
14
run: |
15
-
if [ -n "${{ secrets.PAUSE_PACKAGE_TRIGGER_BASEIMAGE_ALPINE_NGINX_MASTER }}" ]; then
16
-
echo "**** Github secret PAUSE_PACKAGE_TRIGGER_BASEIMAGE_ALPINE_NGINX_MASTER is set; skipping trigger. ****"
15
+
if [ -n "${{ secrets.PAUSE_PACKAGE_TRIGGER_BASEIMAGE_ALPINE_NGINX_3_13_PHP8 }}" ]; then
16
+
echo "**** Github secret PAUSE_PACKAGE_TRIGGER_BASEIMAGE_ALPINE_NGINX_3_13_PHP8 is set; skipping trigger. ****"
17
17
exit 0
18
18
fi
19
-
if [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-baseimage-alpine-nginx/job/master/lastBuild/api/json | jq -r '.building') == "true" ]; then
19
+
if [ $(curl -s https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-baseimage-alpine-nginx/job/3.13-php8/lastBuild/api/json | jq -r '.building') == "true" ]; then
20
20
echo "**** There already seems to be an active build on Jenkins; skipping package trigger ****"
21
21
exit 0
22
22
fi
23
-
echo "**** Package trigger running off of master branch. To disable, set a Github secret named \"PAUSE_PACKAGE_TRIGGER_BASEIMAGE_ALPINE_NGINX_MASTER\". ****"
23
+
echo "**** Package trigger running off of 3.13-php8 branch. To disable, set a Github secret named \"PAUSE_PACKAGE_TRIGGER_BASEIMAGE_ALPINE_NGINX_3_13_PHP8\". ****"
0 commit comments