Skip to content
This repository was archived by the owner on Jan 2, 2022. It is now read-only.

Commit 58b3558

Browse files
committed
ci: create cache folder for use in blank environments
Signed-off-by: Jonah Snider <[email protected]>
1 parent fd4dce6 commit 58b3558

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

example/build.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
now=$(date +"%T")
22
currentDate=$(date +"%a")
3-
path="./.next/cache/$currentDate.txt"
3+
path=".next/cache/$currentDate.txt"
44

5-
rm $path
5+
mkdir -p .next/cache
6+
7+
rm -f $path
68

79
echo $now >> $path

0 commit comments

Comments
 (0)