diff --git a/.github/workflows/build-preview.yml b/.github/workflows/build-preview.yml index 6cb5ddad8..15813e1a6 100644 --- a/.github/workflows/build-preview.yml +++ b/.github/workflows/build-preview.yml @@ -40,15 +40,14 @@ jobs: git submodule update --recursive --remote cd ./.veda/ui git fetch --tags - git tag git checkout ${{ env.VERSION }} cd - git add .veda/ui git commit -m "Update submodule to version ${{ env.VERSION }}" - name: Push Changes run: | - git checkout -b ${{ env.VERSION }} - git push origin ${{ env.VERSION }} + git checkout -b use-${{ env.VERSION }} + git push origin use-${{ env.VERSION }} - name: Create Pull Request uses: peter-evans/create-pull-request@v7 @@ -56,4 +55,4 @@ jobs: commit-message: "Update UI to ${{ env.VERSION }}" title: "Update submodule to version${{ env.VERSION }}" body: "This PR updates the submodule to version `${{ env.VERSION }}`." - branch: update-to-${{ env.VERSION }} \ No newline at end of file + branch: use-${{ env.VERSION }} \ No newline at end of file