Skip to content

Commit

Permalink
Delegate git work to pr action
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Dec 11, 2024
1 parent 3eac1ef commit 80cc98c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
submodules: recursive
ref: ${{ github.event.client_payload.ref }}
fetch-depth: 0
- name: Use Node.js ${{ env.NODE }}
uses: actions/setup-node@v1
with:
Expand All @@ -42,11 +43,6 @@ jobs:
git fetch --tags
git checkout ${{ env.VERSION }}
cd -
git checkout -b ci-${{ env.VERSION }}
git add .veda/ui
git commit -m "Update submodule to version ${{ env.VERSION }}"
git push origin ci-${{ env.VERSION }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
Expand Down

0 comments on commit 80cc98c

Please sign in to comment.