Spaces:
Runtime error
Runtime error
AnujPanthri
commited on
Commit
·
835b394
1
Parent(s):
e369d84
now working
Browse files
.github/workflows/checking_kaggle_status.sh
CHANGED
@@ -16,13 +16,18 @@ check_status(){
|
|
16 |
echo "ERROR"
|
17 |
exit 1
|
18 |
|
|
|
|
|
|
|
19 |
elif [[ $KERNEL_STATUS == *"has status \"complete\""* ]]; then
|
20 |
# success
|
21 |
echo "Notebook finished running !"
|
22 |
exit 0
|
23 |
-
|
24 |
else
|
25 |
-
|
|
|
|
|
26 |
fi
|
27 |
done
|
28 |
|
|
|
16 |
echo "ERROR"
|
17 |
exit 1
|
18 |
|
19 |
+
elif [[ $KERNEL_STATUS == *"has status \"running\""* ]]; then
|
20 |
+
echo "Notebook still running on kaggle..."
|
21 |
+
|
22 |
elif [[ $KERNEL_STATUS == *"has status \"complete\""* ]]; then
|
23 |
# success
|
24 |
echo "Notebook finished running !"
|
25 |
exit 0
|
26 |
+
|
27 |
else
|
28 |
+
# error
|
29 |
+
echo "ERROR"
|
30 |
+
exit 1
|
31 |
fi
|
32 |
done
|
33 |
|
.github/workflows/kaggle.yaml
CHANGED
@@ -42,5 +42,5 @@ jobs:
|
|
42 |
- name: add ouputs to repo
|
43 |
run |
|
44 |
git add .
|
45 |
-
git commit --
|
46 |
-
git push origin train
|
|
|
42 |
- name: add ouputs to repo
|
43 |
run |
|
44 |
git add .
|
45 |
+
git commit --amend --no-edit
|
46 |
+
git push origin train --force
|