Skip to content

Commit

Permalink
Separate out commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hanbyul-here committed Dec 9, 2024
1 parent e34c5e0 commit 19aebb1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/preview-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ runs:
steps:
- name: Checkout Repository
uses: actions/checkout@v4
shell: bash
with:
submodules: recursive
- name: Use Node.js ${{ env.NODE }}
shell: bash
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE }}
Expand All @@ -31,12 +33,14 @@ runs:
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
ls
- name: Commit submodule update
shell: bash
run: |
cd ./.veda/ui
git fetch --all
git checkout ${{ github.event.inputs.ui-version }}
cd -
git add .veda/ui
git add ./.veda/ui
git commit -m "Update submodule to version ${{ github.event.inputs.ui-version }}"
- name: Push Changes
Expand All @@ -48,7 +52,6 @@ runs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
commit-message: "Update UI to ${{ github.event.inputs.ui-version }}"
title: "Update submodule to version ${{ github.event.inputs.ui-version }}"
body: "This PR updates the submodule to version `${{ github.event.inputs.ui-version }}`."
branch: update-${{ github.event.inputs.ui-version }}

0 comments on commit 19aebb1

Please sign in to comment.