From d3c57fee725ff5bf769c11018f602cc3394119f5 Mon Sep 17 00:00:00 2001 From: Rukh-Khan Date: Mon, 6 Jan 2025 15:20:04 +0530 Subject: [PATCH] #2970: autoGen-talawa-admin-docs-debugging --- .github/workflows/pull-request.yml | 20 +++++++++++++------ docs/docs/auto-docs/.gitignore | 0 .../docs/developer-guide/reference/.gitignore | 0 docs/docs/user-guide/.gitignore | 0 4 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 docs/docs/auto-docs/.gitignore create mode 100644 docs/docs/developer-guide/reference/.gitignore create mode 100644 docs/docs/user-guide/.gitignore diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 3121820269..5093a6abc8 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -516,12 +516,6 @@ jobs: npm ci npm install -g typedoc typedoc-plugin-markdown - - name: Create documentation directory - run: | - mkdir -p docs/docs/auto-docs - mkdir -p docs/docs/user-guide - mkdir -p docs/docs/developer-guide/reference - - name: Generate Documentation run: | # Generate the documentation @@ -567,6 +561,20 @@ jobs: run: | git config user.name "GitHub Actions Bot" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + + - name: Debug GitHub Variables + run: | + echo "GitHub REF: ${{ github.ref }}" + echo "GitHub HEAD REF: ${{ github.head_ref }}" + echo "GitHub BASE REF: ${{ github.base_ref }}" + echo "GitHub REF NAME: ${{ github.ref_name }}" + echo "GitHub EVENT NAME: ${{ github.event_name }}" + echo "Current branch:" + git branch --show-current + echo "All branches:" + git branch -a + echo "Git status:" + git status - name: Check and Commit Documentation run: | diff --git a/docs/docs/auto-docs/.gitignore b/docs/docs/auto-docs/.gitignore new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/docs/developer-guide/reference/.gitignore b/docs/docs/developer-guide/reference/.gitignore new file mode 100644 index 0000000000..e69de29bb2 diff --git a/docs/docs/user-guide/.gitignore b/docs/docs/user-guide/.gitignore new file mode 100644 index 0000000000..e69de29bb2