Skip to content

Commit 7fea1e1

Browse files
arihant2mathcoolreader18
authored andcommitted
fix what is left data upload to website and trigger cron-ci on workflow update
1 parent d2bf317 commit 7fea1e1

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/cron-ci.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ on:
22
schedule:
33
- cron: '0 0 * * 6'
44
workflow_dispatch:
5+
push:
6+
paths:
7+
- .github/workflows/cron-ci.yaml
58

69
name: Periodic checks/tasks
710

@@ -97,8 +100,8 @@ jobs:
97100
cd website
98101
[ -f ./_data/whats_left.temp ] && cp ./_data/whats_left.temp ./_data/whats_left_lastrun.temp
99102
cp ../whats_left.temp ./_data/whats_left.temp
100-
rm _data/whats_left/modules.csv
101-
cat _data/whats_left.temp | grep "(entire module)" | cut -d ' ' -f 1 | sort >> ../_data/whats_left/modules.csv
103+
rm ./_data/whats_left/modules.csv
104+
cat ./_data/whats_left.temp | grep "(entire module)" | cut -d ' ' -f 1 | sort >> ./_data/whats_left/modules.csv
102105
103106
git add -A
104107
if git -c user.name="Github Actions" -c user.email="actions@github.com" commit -m "Update what is left results" --author="$GITHUB_ACTOR"; then

0 commit comments

Comments
 (0)