From 3f49e80b9a91e9ec4ebefa36246da5674daca62b Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Sun, 8 Oct 2023 11:21:55 -0500 Subject: [PATCH] fix: add permissions remove docs deploy (#2605) --- .github/workflows/release.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1e06d673b9ad..a1dff7eddd20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,9 @@ jobs: uses: ./.github/workflows/partial-frontend.yml build-release: + permissions: + contents: read + packages: write name: Build Tagged Release uses: ./.github/workflows/partial-builder.yml needs: @@ -25,22 +28,6 @@ jobs: DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - publish-docs: - name: Deploy docs - runs-on: ubuntu-latest - needs: - - build-release - steps: - - name: Checkout main - uses: actions/checkout@v3 - - - name: Deploy docs - uses: mhausenblas/mkdocs-deploy-gh-pages@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - CONFIG_FILE: docs/mkdocs.yml - EXTRA_PACKAGES: build-base - notify-discord: name: Notify Discord needs: