From 0f6bdec181a6352632f63f5105ed0e029b47d12a Mon Sep 17 00:00:00 2001 From: Dominik Piatek Date: Fri, 5 Aug 2022 09:10:07 +0100 Subject: [PATCH] Do not push on release This does not work, github tokens can't push against main. --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2db1bfc3b..4247baf85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,10 +24,9 @@ jobs: - name: Release latest Ably UI version env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - RUBYGEMS_API_KEY: "${{ secrets.RUBYGEMS_API_KEY }}" + RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }} run: | git config --global user.email "github@action.code" git config --global user.name "Github Action" ./scripts/release.sh "${GITHUB_REF/refs\/tags\//}" - git push https://${{ secrets.REGISTRY_TOKEN }}@github.com/ably/ably-ui.git shell: bash