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