diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1a7a244..e2b6481 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,6 +22,8 @@ jobs: if: github.ref == 'refs/heads/main' needs: build runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/download-artifact@v3 with: @@ -31,5 +33,3 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: _dist - permissions: - contents: write