From 9f4d912b869aa89c24e64dc70b019a2af8cbf670 Mon Sep 17 00:00:00 2001 From: Young-Flash Date: Fri, 6 Dec 2024 17:11:54 +0800 Subject: [PATCH] tree dist --- .github/workflows/jobs.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/jobs.yml b/.github/workflows/jobs.yml index bb3837c..f7dcd00 100644 --- a/.github/workflows/jobs.yml +++ b/.github/workflows/jobs.yml @@ -60,9 +60,6 @@ jobs: env UPDATE_EXPECT=1 cargo test ./target/release/moon_dashboard stat --file repos.txt - - name: Pull - run: git pull - - name: Commit run: | git config --local user.name "github-actions[bot]" @@ -72,7 +69,7 @@ jobs: git commit -m "Update data for ${{ matrix.os }} at $(date '+%Y-%m-%d %H:%M:%S')" || echo "No changes to commit" - name: Push changes - run: git push + run: git pull --rebase && git push deploy: needs: collect-data