Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 884 Bytes

README.md

File metadata and controls

38 lines (28 loc) · 884 Bytes

quote-box

GitHub Release

Receive a random quote, and pushes to Gist with GitHub Actions.

Tip

For more “pinned gists” projects, visit
https://github.com/matchai/awesome-pinned-gists.

Usage

Use a GitHub Actions workflow to execute quote-box. Here's an example:

name: Get Quote

on:
  workflow_dispatch:
  schedule:
    - cron: 0 0 * * *                             # execution frequency and time

jobs:
  push:
    runs-on: ubuntu-22.04
    steps:
    - name: Download and Push
      uses: rnmeow/[email protected]
      env:
        GH_TOKEN: ${{ secrets.GH_TOKEN }}         # *
      # Settings
      with:
        confFile: conf.json

License

(C) 2023, 2024, Connor Kuo. MIT License.