-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add action to push the raport to gh page branch
- Loading branch information
1 parent
a54e2c4
commit e34e6f4
Showing
6 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
filename="$1" | ||
|
||
if [ -z "$filename" ]; then | ||
echo "Please provide a filename as an argument." | ||
exit 1 | ||
fi | ||
|
||
echo "---" > "$filename" | ||
echo "layout: post" >> "$filename" | ||
echo "date: $(date "+%Y-%m-%d %H:%M:%S %z")" >> "$filename" | ||
echo "---" >> "$filename" | ||
echo "" >> "$filename" | ||
|
||
echo "Content has been written to $filename." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
current_date=$(date "+%Y-%m-%d") | ||
|
||
second_of_day=$(date "+%H3600+%M60+%S" | bc) | ||
|
||
filename="${current_date}-build-result-${second_of_day}.md" | ||
|
||
echo $filename |