Skip to content

Commit

Permalink
Force push on tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
compulim committed Jul 8, 2020
1 parent 84d2e22 commit 8696a8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/preview-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,8 @@ jobs:
cd repo
git config user.name ${{ github.actor }}
git config user.email ${{ github.actor }}@users.noreply.github.com
git push origin :${{ steps.variables.outputs.tag_name }}
git tag -f ${{ steps.variables.outputs.tag_name }} ${{ github.sha }}
git push origin ${{ steps.variables.outputs.tag_name }}
git push -f origin ${{ steps.variables.outputs.tag_name }}
- name: Create a release
uses: actions/create-release@v1
Expand Down

0 comments on commit 8696a8e

Please sign in to comment.