Skip to content

dinushchathurya/sinhala-quotes-github-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💬 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