From d39e71488fe085110aac840618102cf33cc567e0 Mon Sep 17 00:00:00 2001 From: habib-deriv Date: Fri, 1 Mar 2024 11:23:15 +0800 Subject: [PATCH 1/2] chore: update multiple build action yml --- .github/workflows/generate-preview-link-eu.yml | 3 ++- .github/workflows/generate-preview-link-row.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-preview-link-eu.yml b/.github/workflows/generate-preview-link-eu.yml index 5af00057157..66603dc2686 100644 --- a/.github/workflows/generate-preview-link-eu.yml +++ b/.github/workflows/generate-preview-link-eu.yml @@ -15,7 +15,8 @@ concurrency: jobs: build_eu_to_cloudflare_pages: - runs-on: Runner_16cores + runs-on: Ubuntu-latest + if: contains(github.head_ref, 'multiple-build') permissions: checks: write pull-requests: write diff --git a/.github/workflows/generate-preview-link-row.yml b/.github/workflows/generate-preview-link-row.yml index fa7e23135e1..075543c4795 100644 --- a/.github/workflows/generate-preview-link-row.yml +++ b/.github/workflows/generate-preview-link-row.yml @@ -15,7 +15,8 @@ concurrency: jobs: build_row_to_cloudflare_pages: - runs-on: Runner_16cores + runs-on: Ubuntu-latest + if: contains(github.head_ref, 'multiple-build') permissions: checks: write pull-requests: write From 5628232f58c954d33d12a26c3e130bcdeb36deec Mon Sep 17 00:00:00 2001 From: habib-deriv Date: Fri, 1 Mar 2024 11:28:04 +0800 Subject: [PATCH 2/2] chore: update action with To DO --- .github/workflows/generate-preview-link-eu.yml | 2 +- .github/workflows/generate-preview-link-row.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-preview-link-eu.yml b/.github/workflows/generate-preview-link-eu.yml index 66603dc2686..90702a214f5 100644 --- a/.github/workflows/generate-preview-link-eu.yml +++ b/.github/workflows/generate-preview-link-eu.yml @@ -16,7 +16,7 @@ concurrency: jobs: build_eu_to_cloudflare_pages: runs-on: Ubuntu-latest - if: contains(github.head_ref, 'multiple-build') + if: contains(github.event.pull_request.head.ref, 'multiple-build') permissions: checks: write pull-requests: write diff --git a/.github/workflows/generate-preview-link-row.yml b/.github/workflows/generate-preview-link-row.yml index 075543c4795..cbdc4aa0bcd 100644 --- a/.github/workflows/generate-preview-link-row.yml +++ b/.github/workflows/generate-preview-link-row.yml @@ -16,7 +16,8 @@ concurrency: jobs: build_row_to_cloudflare_pages: runs-on: Ubuntu-latest - if: contains(github.head_ref, 'multiple-build') + # To be removed once released in production + if: contains(github.event.pull_request.head.ref, 'multiple-build') permissions: checks: write pull-requests: write