Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

Commit

Permalink
fix: fix release (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Peshev authored Oct 22, 2019
1 parent e2b45f5 commit 9bdf0c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/branch_push_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ jobs:
- name: Test
run: |
npm run test
git checkout "${GITHUB_REF:11}"
- name: Release
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
env:
TRAVIS: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "${GITHUB_REF:11}"
git reset --hard HEAD
git checkout "${GITHUB_REF:11}"
TRAVIS_BRANCH="${GITHUB_REF:11}" npm run semantic-release

0 comments on commit 9bdf0c5

Please sign in to comment.