Skip to content

Commit

Permalink
fix(ci): remove HEAD when pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-devatom committed Oct 17, 2023
1 parent c56822f commit 8641c38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Generate a token
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release on NPM
name: Publish on NPM

on:
push:
Expand All @@ -21,7 +21,7 @@ concurrency:

jobs:
build-and-deploy:
name: Build and Deploy
name: Build and Publish
runs-on: ubuntu-latest
steps:
- name: Generate a token
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Push to Correct Branch
run: |
git push origin HEAD:$(basename ${{ github.ref }})
git push origin $(basename ${{ github.ref }})
- name: Publish to npm
run: |
Expand All @@ -84,7 +84,7 @@ jobs:
- name: Push Git Tag
run: |
git push origin HEAD:$(basename ${{ github.ref }}) --tags
git push origin $(basename ${{ github.ref }}) --tags
- name: Create GitHub Release
env:
Expand Down

0 comments on commit 8641c38

Please sign in to comment.