From b74b5f1495db9b6a45e71aa4695587550f6f4b14 Mon Sep 17 00:00:00 2001 From: Benjamin Muschko Date: Wed, 25 Oct 2023 16:15:24 -0600 Subject: [PATCH 1/2] Use standard GitHub token for publishing to pages --- .github/workflows/linux-build-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux-build-release.yml b/.github/workflows/linux-build-release.yml index b31e9d9c3..170a820f2 100644 --- a/.github/workflows/linux-build-release.yml +++ b/.github/workflows/linux-build-release.yml @@ -1,5 +1,7 @@ name: Build and Release [Linux] on: [push, pull_request] +permissions: + pages: write jobs: build: @@ -65,4 +67,4 @@ jobs: PLUGIN_PORTAL_KEY: ${{ secrets.PLUGIN_PORTAL_KEY }} PLUGIN_PORTAL_SECRET: ${{ secrets.PLUGIN_PORTAL_SECRET }} with: - arguments: publishPlugins gitPublishPush -Pgradle.publish.key=${{ secrets.PLUGIN_PORTAL_KEY }} -Pgradle.publish.secret=${{ secrets.PLUGIN_PORTAL_SECRET }} -Dorg.ajoberstar.grgit.auth.username=${{ secrets.GH_TOKEN }} -is + arguments: publishPlugins gitPublishPush -Pgradle.publish.key=${{ secrets.PLUGIN_PORTAL_KEY }} -Pgradle.publish.secret=${{ secrets.PLUGIN_PORTAL_SECRET }} -Dorg.ajoberstar.grgit.auth.username=${{ secrets.GITHUB_TOKEN }} -is From 829591e902c6d9ff1ca3c712a17de297988512e0 Mon Sep 17 00:00:00 2001 From: Benjamin Muschko Date: Wed, 25 Oct 2023 16:20:46 -0600 Subject: [PATCH 2/2] Credentials are already set by project properties --- .github/workflows/linux-build-release.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/linux-build-release.yml b/.github/workflows/linux-build-release.yml index 170a820f2..6926f0fb7 100644 --- a/.github/workflows/linux-build-release.yml +++ b/.github/workflows/linux-build-release.yml @@ -63,8 +63,5 @@ jobs: - name: Release if: startsWith(github.ref, 'refs/tags/') uses: gradle/gradle-build-action@v2 - env: - PLUGIN_PORTAL_KEY: ${{ secrets.PLUGIN_PORTAL_KEY }} - PLUGIN_PORTAL_SECRET: ${{ secrets.PLUGIN_PORTAL_SECRET }} with: arguments: publishPlugins gitPublishPush -Pgradle.publish.key=${{ secrets.PLUGIN_PORTAL_KEY }} -Pgradle.publish.secret=${{ secrets.PLUGIN_PORTAL_SECRET }} -Dorg.ajoberstar.grgit.auth.username=${{ secrets.GITHUB_TOKEN }} -is