Skip to content

Commit

Permalink
fix: add permissions remove docs deploy (#2605)
Browse files Browse the repository at this point in the history
  • Loading branch information
hay-kot authored Oct 8, 2023
1 parent b153ddf commit 3f49e80
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 3f49e80

Please sign in to comment.