Skip to content

Commit

Permalink
Update update_readme.yml (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
lqS0317 authored May 14, 2024
1 parent c1d4ec8 commit 23963f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
ref: main
- name: Update README
run: |
date=$(date +%Y%m%d --date='last sunday')
echo $(date)
date=$(date +%Y%m%d)
current_time=$(grep -Eo '[0-9]{8}' run-node-mainnetv2.md |head -n1)
sed -i "s/${current_time}/$date/g" run-node-mainnetv2.md
git config --global user.email "[email protected]"
git config --global user.name "mantle-github-bot"
git add run-node-mainnetv2.md
git commit -m "update snapshot tar date"
git push https://mantle-github-bot:${{ secrets.PAT }}@github.com/mantlenetworkio/networks.git main
git push https://mantle-github-bot:${{ secrets.PAT }}@github.com/mantlenetworkio/networks.git main

0 comments on commit 23963f6

Please sign in to comment.