Skip to content

Commit

Permalink
Remove duplicate GitHub push command in CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oleander committed Nov 16, 2024
1 parent f5046fa commit d464949
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
git diff-index --quiet HEAD -- || git stash
cargo bump patch --git-tag
git diff-index --quiet HEAD -- || git commit -a --amend --no-edit
git push origin main --tags
- name: Download all artifacts
uses: actions/download-artifact@v4
Expand All @@ -100,6 +101,3 @@ jobs:
run: cargo publish --allow-dirty
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

- name: Push to GitHub
run: git push origin ${{ github.ref }} --tags

0 comments on commit d464949

Please sign in to comment.