Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan-Y-Ko committed Dec 4, 2024
1 parent c58c6da commit 5957417
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ jobs:

permissions:
contents: write
id-token: write

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v4
Expand All @@ -40,3 +43,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Force push tags to main branch
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git fetch --tags # Fetch tags if not already done
git push --force --tags https://github.com/chingu-x/chingu-dashboard-components HEAD:main

0 comments on commit 5957417

Please sign in to comment.