From 315c821640bfb31a680cbe4dec7c0bafd1105b2b Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 31 Oct 2024 17:28:40 -0400 Subject: [PATCH] troubleshooting --- .github/workflows/docs_updater.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs_updater.yml b/.github/workflows/docs_updater.yml index dde85045a..483c492fd 100644 --- a/.github/workflows/docs_updater.yml +++ b/.github/workflows/docs_updater.yml @@ -27,12 +27,14 @@ jobs: - name: Commit and Push Changes run: | git branch -D update-docs || true + git switch dev git config user.name "BBOT Docs Autopublish" git config user.email "info@blacklanternsecurity.com" - git checkout -b update-docs + git switch -c update-docs git add "*.md" "docs/data/chord_graph/*.json" git commit -m "Refresh module docs" git push -u origin update-docs --force + git switch dev env: GITHUB_TOKEN: ${{ secrets.BBOT_DOCS_UPDATER_PAT }} - name: Create or Update Pull Request @@ -40,6 +42,5 @@ jobs: with: token: ${{ secrets.BBOT_DOCS_UPDATER_PAT }} branch: update-docs - base: dev title: "Daily Docs Update" body: "This is an automated pull request to update the documentation."