From e0bb2575b7029748da84bd1862b8dcd577aae8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Liberoff=20V=C3=A1zquez?= Date: Mon, 4 Dec 2023 19:14:55 +0100 Subject: [PATCH 1/2] Testing why CD is not working. --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 62ee626..e0795cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,8 +6,7 @@ on: - releases/** - main paths-ignore: - - '/**/*.md' - - '.github/**/*' + - '/**/*.md' pull_request: types: - opened @@ -90,7 +89,7 @@ jobs: CD: runs-on: ubuntu-latest needs: CI - if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/heads/releases') || github.ref == 'refs/head/main') + # if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/heads/releases') || github.ref == 'refs/head/main') steps: - name: Checkout code uses: actions/checkout@v4 From 2cc5d6591c64021414ae6c1728890203853021b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Liberoff=20V=C3=A1zquez?= Date: Mon, 4 Dec 2023 19:23:13 +0100 Subject: [PATCH 2/2] Fixing CD issue. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e0795cc..4aebcb0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -89,7 +89,7 @@ jobs: CD: runs-on: ubuntu-latest needs: CI - # if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/heads/releases') || github.ref == 'refs/head/main') + if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/heads/releases') || github.ref == 'refs/heads/main') steps: - name: Checkout code uses: actions/checkout@v4