From fc97b86bef30556884858fa736557670d716bb6e Mon Sep 17 00:00:00 2001 From: lucirezac Date: Tue, 26 Mar 2024 15:26:24 +0100 Subject: [PATCH] GO-165 Remove login --- .github/workflows/Release.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 584c88b..1a23dcc 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -8,8 +8,7 @@ on: env: WORKDIR: release - # GITHUB_TOKEN: ${{ secrets.SYSADMIN_GEOCODING_CONTROL_CREDENTIALS }} # Variable needed for Git authentication - GH_TOKEN: ${{ secrets.SYSADMIN_GEOCODING_CONTROL_CREDENTIALS }} # Variable needed for GitHub CLI + GITHUB_TOKEN: ${{ secrets.SYSADMIN_GEOCODING_CONTROL_CREDENTIALS }} jobs: clone-cdn: @@ -25,7 +24,7 @@ jobs: with: path: ${{ env.WORKDIR }}/cdn.maptiler.com repository: maptiler/cdn.maptiler.com - token: ${{ env.GH_TOKEN }} + token: ${{ env.GITHUB_TOKEN }} release: name: Build and release CDN @@ -41,9 +40,6 @@ jobs: with: path: ${{ env.WORKDIR }}/maptiler-geocoding-control - - name: GitHub CLI authentication - run: gh auth login --with-token - - name: Install npm run: npm i