From 4dfb8cb7373aab2ec8b16e8aec20060943b1e92a Mon Sep 17 00:00:00 2001 From: qqhsx <56535272+qqhsx@users.noreply.github.com> Date: Mon, 27 May 2024 09:31:42 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9778a83b..db94ba44 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,14 +33,14 @@ jobs: uses: actions/upload-artifact@v2 with: name: wencai-results - path: ${{ secrets.CSV_FILE_NAME }} + path: ${{ secrets.KEYWORD }} - name: Commit and Push CSV to Repository run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - git add -f ${{ secrets.CSV_FILE_NAME }} - git commit -m 'Automatically update and commit ${{ secrets.CSV_FILE_NAME }}' || echo "No changes to commit" + git add -f ${{ secrets.KEYWORD }} + git commit -m 'Automatically update and commit ${{ secrets.KEYWORD }}' || echo "No changes to commit" git push origin HEAD:${{ github.ref }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}