Skip to content

Commit

Permalink
fixing tagging step
Browse files Browse the repository at this point in the history
  • Loading branch information
jotacemarin committed Feb 9, 2024
1 parent e86b86f commit bddd90e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd-prod-botnorrea-v2-telegram.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
- name: Create new git tag
if: ${{ steps.obtener_autor_commit.outputs.autor_commit != 'botnorrea-v2' }}
run: |
git config --global user.email "${{ secrets.BOTNORREA_V2_EMAIL }}"
git config --global user.name "${{ secrets.BOTNORREA_V2_NAME }}"
git tag -a "v$(npm run version)" -m "Deploy by ${{ secrets.BOTNORREA_V2_NAME }}"
git push origin master "v$(npm run version)"
npm version patch
git config user.email "${{ secrets.BOTNORREA_V2_EMAIL }}"
git config user.name "${{ secrets.BOTNORREA_V2_NAME }}"
git push
# Deploy to production
- name: Using Node.js ${{ matrix.node-version }}
Expand Down

0 comments on commit bddd90e

Please sign in to comment.