Skip to content

Commit

Permalink
Do not push on release
Browse files Browse the repository at this point in the history
This does not work, github tokens can't push against main.
  • Loading branch information
Dominik Piatek committed Aug 5, 2022
1 parent 344c44d commit 0f6bdec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
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

0 comments on commit 0f6bdec

Please sign in to comment.