diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a09dfaa259c..d3c7d9c34ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,7 +24,7 @@ jobs: NUSSKNACKER_VERSION: ${{ inputs.release_version }} NEXT_VERSION_RELEASE: ${{ inputs.backport_release == false && inputs.release_candidate == false }} SBT_RELEASE_NEXT_VERSION: ${{ format('{0} {1} with-defaults', 'release-version', inputs.release_version) }} - ACCESS_TOKEN: ${{ secrets.NU_INSTALLATION_EXAMPLE_PAT }} + NU_INSTALLATION_EXAMPLE_ACCESS_TOKEN: ${{ secrets.NU_INSTALLATION_EXAMPLE_PAT }} steps: - name: "Output variables" run: | diff --git a/.github/workflows/scripts/publishNuInstallationExample.sh b/.github/workflows/scripts/publishNuInstallationExample.sh index 11833e99d7c..121b2ea8153 100755 --- a/.github/workflows/scripts/publishNuInstallationExample.sh +++ b/.github/workflows/scripts/publishNuInstallationExample.sh @@ -1,7 +1,7 @@ #!/bin/bash -ex -if [ -z "$ACCESS_TOKEN" ]; then - echo "ACCESS_TOKEN variable has to be defined" +if [ -z "$NU_INSTALLATION_EXAMPLE_ACCESS_TOKEN" ]; then + echo "NU_INSTALLATION_EXAMPLE_ACCESS_TOKEN variable has to be defined" exit 1 fi