Skip to content

Commit

Permalink
fix: pr-comment-ci (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
liweijie0812 authored Aug 8, 2024
1 parent b4ee96b commit 560ad9d
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/pr-comment-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,6 @@ jobs:
- name: Install Dependencies
run: pnpm install

- name: Start Service by nohup
run: nohup pnpm run dev &

- name: Wait for Service
run: |
echo sleep 10 seconds start
sleep 10
echo sleep 10 seconds end
- name: Merge main
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
Expand All @@ -98,7 +89,10 @@ jobs:
echo "both_modified_db $both_modified_db"
if [ "$count_both_modified" -eq "$both_modified_db" ]&&[ "$count_both_modified" -eq "1" ]; then
git checkout -f main db/TDesign.db
git checkout --theirs db/TDesign.db
git add db/TDesign.db
nohup pnpm run dev &
sleep 10
pnpm api:upload
git commit -am "chore: resolve conflict"
git push
Expand Down

0 comments on commit 560ad9d

Please sign in to comment.