From 2d680b94527251a2aca886c86b16f31bf6d62ed6 Mon Sep 17 00:00:00 2001 From: pankajastro Date: Fri, 10 Jan 2025 00:36:42 +0530 Subject: [PATCH] Check event --- .github/workflows/cicd.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 493097b5..9fae25b5 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -2,9 +2,9 @@ name: CI jobs on: push: # Run on pushes to the default branch - branches: [main] + branches: [main, docs-release-test] pull_request_target: # Also run on pull requests originated from forks - branches: [main] + branches: [main, docs-release-test] release: types: ['published'] @@ -218,6 +218,14 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} files: coverage.xml + Check-Event: + runs-on: ubuntu-latest + steps: + - name: GITHUB_EVENT_NAME + run: echo $GITHUB_EVENT_NAME + - name: GITHUB_EVENT_ACTION + run: echo $GITHUB_EVENT_ACTION + Deploy-Pages: permissions: contents: write @@ -259,6 +267,7 @@ jobs: - Static-Check - Run-Unit-Tests - Code-Coverage + - Deploy-Pages runs-on: ubuntu-latest steps: - uses: actions/checkout@v4