From f9899b5ebc6ac5d4cf02fbec0f10bb922fc3af74 Mon Sep 17 00:00:00 2001 From: rachfop Date: Thu, 21 Dec 2023 11:12:16 -0800 Subject: [PATCH] Fix --- .github/workflows/update-version.yml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 .github/workflows/update-version.yml diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml deleted file mode 100644 index a1b37c4..0000000 --- a/.github/workflows/update-version.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Update ReadMe Docs on Push - -on: [push] - -jobs: - rdme-docs: - runs-on: ubuntu-latest - steps: - - name: Check out repo 📚 - uses: actions/checkout@v3 - - - name: Generate branch version string - run: | - BRANCH_NAME="${{ github.head_ref || github.ref || github.event.ref }}" - BRANCH_VERSION=$(echo $BRANCH_NAME | tr -cd '0-9.') - echo "BRANCH_VERSION=$BRANCH_VERSION" >> $GITHUB_ENV - - - name: Delete version of docs for branch (if branch is deleted) 🚀 - uses: readmeio/rdme@v8 - with: - rdme: docs ${{ env.BRANCH_VERSION }} --version=${{ env.BRANCH_VERSION }} --key=${{ secrets.README_API_KEY }} \ No newline at end of file