GitHub Action
Sinhala Quote Of The Day
1.0.7
Latest version
💬 Quote of the Day: "ඔබ තනි වූ විට ඔබ පසුපසින්ම එන්නේ ඔබට සැබෑ ලෙසින්ම ආදරේ කරන අයයි"
- Add the following lines in the file where quote will be updated.
<!-- start quote -->
<!--- end quote -->
- Create Workflow
name: Update README with Sinhala Quote
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # triggers every midnight
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Sinhala Quote Of The Day
uses: dinushchathurya/sinhala-quotes-github-action@1.0.7
- name: Commit and push update
run: |-
git config --global user.email "sinhalaquotes@action.com"
git config --global user.name "Quote-Bot"
git add -A
git commit -m "Added Sinhala QOTD from GitHub Actions"
git push