Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
funkwhale
tooter
Commits
305477f2
Verified
Commit
305477f2
authored
Oct 19, 2021
by
Georg Krause
Browse files
Only toot if 0==1
parent
336aa987
Pipeline
#16787
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
305477f2
...
...
@@ -7,4 +7,6 @@ run:
-
toot whoami
-
weekday=$(date +"%u")
-
echo $weekday
-
cat $(find $weekday/*.txt | shuf -n 1) | toot post
-
tootfile=$(find $weekday/*.txt | shuf -n 1)
-
[
"
$TOOT"
= 1
]
&&
toot post < $tootfile
-
cat $tootfile
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment