From a62de14ee94353bb2c907dd9fd586190b6431c9d Mon Sep 17 00:00:00 2001 From: stuxnot <41650734+stuxnot@users.noreply.github.com> Date: Fri, 1 Nov 2024 10:55:14 +0100 Subject: [PATCH] Correctly check out the cpp-docs branch --- .github/workflows/doxygen.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index 721b161..24dade6 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -18,7 +18,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Packages run: sudo apt-get install -y doxygen graphviz @@ -35,8 +35,9 @@ jobs: run: | git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" git config --global user.email "emproof-com@users.noreply.github.com" - git checkout cpp-docs - git add doc + git fetch origin cpp-docs + git switch cpp-docs + git add docs git commit -m "${{ env.CI_COMMIT_MESSAGE }}" git push