Skip to content

Commit 8441976

Browse files
committed
Test workflow
1 parent a4a9e6a commit 8441976

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/bump-lychee-version.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: Bump lychee version
22

3-
on:
4-
repository_dispatch:
5-
workflow_dispatch:
6-
schedule:
7-
- cron: "00 18 * * *"
3+
on: push
84

95
jobs:
106
bumpLycheeVersion:

bump-lychee.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FILE=src/generate/lychee-version.ts
77

88
sed -i -e "s/LYCHEE_VERSION = \"[^\"]*\"/LYCHEE_VERSION = \"$LATEST\"/" $FILE
99

10-
if [ -v "$CI" ]; then
10+
if [ -n "$CI" ]; then
1111
git config user.name "lychee bot"
1212
git config user.email "noreply@lychee.cli.rs"
1313
fi

0 commit comments

Comments
 (0)