-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |