Skip to content

Commit

Permalink
chore: udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangshangjin committed Jan 18, 2021
1 parent a383104 commit 1f8d5ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/generate_readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:
- name: Generate new md # if you fork or clone this repo, please delete the curl line unless you know why
run: |
source venv/bin/activate
python main.py ${{ secrets.Z_S_T }} ${{ github.repository }} --issue_numbe '${{ github.event.issue.number }}'
curl -H "Content-Type:application/json" -X POST -d '{"inputs": {}, "ref":"main"}' https://api.github.com/repos/yihong0618/2021/actions/workflows/4756004/dispatches -H "Authorization: token ${{ secrets.Z_S_T }}"
python main.py ${{ secrets.Z_S_J }} ${{ github.repository }} --issue_numbe '${{ github.event.issue.number }}'
curl -H "Content-Type:application/json" -X POST -d '{"inputs": {}, "ref":"main"}' https://api.github.com/repos/yihong0618/2021/actions/workflows/4756004/dispatches -H "Authorization: token ${{ secrets.Z_S_J }}"
- name: Push README
uses: github-actions-x/[email protected]
with:
github-token: ${{ secrets.Z_S_T }}
github-token: ${{ secrets.Z_S_J }}
commit-message: "Refresh README AND BACK UP"
files: README.md BACKUP/
rebase: "true"
Expand Down

0 comments on commit 1f8d5ba

Please sign in to comment.