fix: add permissions remove docs deploy (#2605)

This commit is contained in:
Hayden 2023-10-08 11:21:55 -05:00 committed by GitHub
parent b153ddf858
commit 3f49e80b9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,9 @@ jobs:
uses: ./.github/workflows/partial-frontend.yml uses: ./.github/workflows/partial-frontend.yml
build-release: build-release:
permissions:
contents: read
packages: write
name: Build Tagged Release name: Build Tagged Release
uses: ./.github/workflows/partial-builder.yml uses: ./.github/workflows/partial-builder.yml
needs: needs:
@ -25,22 +28,6 @@ jobs:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} 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: notify-discord:
name: Notify Discord name: Notify Discord
needs: needs: