From 6fa3922b6c80492d97b4320b8f9e4b9f6d1b88e6 Mon Sep 17 00:00:00 2001 From: Michael D Starch Date: Fri, 6 Dec 2024 10:07:49 -0800 Subject: [PATCH] Removing autodocs runs --- .github/actions/autodoc.bash | 20 -------------------- .github/workflows/autodocs.yml | 23 ----------------------- 2 files changed, 43 deletions(-) delete mode 100755 .github/actions/autodoc.bash delete mode 100644 .github/workflows/autodocs.yml diff --git a/.github/actions/autodoc.bash b/.github/actions/autodoc.bash deleted file mode 100755 index 481014a187..0000000000 --- a/.github/actions/autodoc.bash +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# Exit when any command fails -set -e -set -x - -cd "$GITHUB_WORKSPACE" -REMOTE="${1:-origin}" -git config --local user.email "nasa-fprime[bot]@users.noreply.github.com" -git config --local user.name "nasa-fprime[bot]" -git fetch "${REMOTE}" docs/auto-documentation -git fetch "${REMOTE}" devel -git checkout docs/auto-documentation -GIT_EDITOR=true git merge "${REMOTE}"/devel -${GITHUB_WORKSPACE}/docs/doxygen/generate_docs.bash -git add -Af "${GITHUB_WORKSPACE}/docs" - - -git commit -m "Autodoc on $(date)" || echo "No new commits, pushing merge" -git push "${REMOTE}" diff --git a/.github/workflows/autodocs.yml b/.github/workflows/autodocs.yml deleted file mode 100644 index 701eb45f20..0000000000 --- a/.github/workflows/autodocs.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Autodocs -on: - push: - branches: - - "devel" - -jobs: - build: - name: Autodocumentation - runs-on: ubuntu-22.04 - steps: - - name: "Checkout F´ Repository" - uses: actions/checkout@v4 - with: - fetch-depth: 0 - submodules: true - - uses: ./.github/actions/setup - - name: Setup Dependencies - run: | - sudo apt-get update - sudo apt-get install -y doxygen - - name: Autodocs - run: .github/actions/autodoc.bash