Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
qqhsx authored May 25, 2024
1 parent efef30d commit cb99a83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: wencai-results
path: 退市股票.csv
path: ${{ secrets.CSV_FILE_NAME }}

- name: Commit and Push CSV to Repository
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -f 退市股票.csv
git commit -m 'Automatically update and commit 退市股票.csv' || echo "No changes to commit"
git add -f ${{ secrets.CSV_FILE_NAME }}
git commit -m 'Automatically update and commit ${{ secrets.CSV_FILE_NAME }}' || echo "No changes to commit"
git push origin HEAD:${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cb99a83

Please sign in to comment.