We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd51600 commit 60e616fCopy full SHA for 60e616f
.github/workflows/main.yml
@@ -66,11 +66,12 @@ jobs:
66
67
DEMYX_CHECK_STATUS="$(git status)"
68
if [[ "$DEMYX_CHECK_STATUS" != *"nothing to commit"* ]]; then
69
+ DEMYX_RANDOM_QUOTE="$(curl -s "https://api.quotable.io/random?tags=technology" | jq -r '. | "\"\(.content)\" - \(.author)"')"
70
git config --global user.name github-actions[bot]
71
git config --global user.email github-actions[bot]@users.noreply.github.com
72
git remote set-url origin https://demyxsh:${{ secrets.DEMYX_TOKEN }}@github.com/demyxsh/${{ env.DEMYX_REPOSITORY }}
73
git add .
- git commit -m "Scheduled Build"
74
+ git commit -m "${DEMYX_RANDOM_QUOTE:-Scheduled Build}"
75
git push
76
fi
77
0 commit comments