Skip to content

Commit

Permalink
fix(ci): change the branch to push to
Browse files Browse the repository at this point in the history
Signed-off-by: julien <[email protected]>
  • Loading branch information
julien-devatom committed Oct 17, 2023
1 parent dd1b6a5 commit 90c47fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release on NPM

on:
pull_request:
push:
workflow_dispatch:
inputs:
version_type:
Expand All @@ -21,7 +21,7 @@ concurrency:

jobs:
build-and-deploy:
name: Build and deploy package
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- name: Generate a token
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Push to Correct Branch
run: |
git push origin HEAD:${{ github.event.inputs.branch }}
git push origin HEAD:$(basename ${{ github.ref }})
- name: Publish to npm
run: |
Expand Down

0 comments on commit 90c47fd

Please sign in to comment.