dinushchathurya / sinhala-quotes-github-action

Sinhala Quote of the day

Home Page:https://github.com/marketplace/actions/sinhala-quote-of-the-day

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

💬 Quote of the Day: "අතින් අල්ලන තුරුම සිහිනය සිතින් පමණක් නඩත්තු කරන්න"

Sinhala Quote of the day

Example usage

  1. Add the following lines in the file where quote will be updated.
<!-- start quote --> 

<!--- end quote -->
  1. 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

About

Sinhala Quote of the day

https://github.com/marketplace/actions/sinhala-quote-of-the-day


Languages

Language:JavaScript 100.0%