Skip to content

Commit

Permalink
update webpack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s956142 committed Apr 20, 2024
1 parent 27713aa commit d7dec80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:
- name: Commit build to output branch
run: |
branch_name="build"
git checkout -b "${branch_name}"
git checkout "${branch_name}"
version=$(echo "${{ github.ref }}" | sed 's/refs\/tags\/v//')
echo "Tag version: $version"
echo "Checkout to branch :${branch_name}"
git add docs/ -f
git commit -m "update version to v$version"
git push origin "${branch_name}" -f
git push origin "${branch_name}"

0 comments on commit d7dec80

Please sign in to comment.