Skip to content

Commit

Permalink
update_workflow_job (#84)
Browse files Browse the repository at this point in the history
* update_workflow_job

---------

Co-authored-by: lqS0317 <[email protected]>
  • Loading branch information
lqS0317 and lqS0317 authored May 9, 2024
1 parent 1f27997 commit 080b9f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update_readme.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: update readme
on:
schedule:
- cron: '0 5 * * *'
- cron: '0 12 */7 * *'
run-name: update readme
jobs:
update-readme:
Expand All @@ -14,6 +14,7 @@ jobs:
ref: main
- name: Update README
run: |
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
Expand Down

0 comments on commit 080b9f5

Please sign in to comment.