Skip to content

wow-actions/daily-saying

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

Repository files navigation

Daily Saying

build MIT License Language PRs Welcome website

Fetch a daily saying from iciba.com and output it

🚀 Usage

Create a .github/workflows/daily-saying.yml file in the repository you want to install this action, then add the following to it:

name: Daily Saying
on:
  push:
    branches:
      - master
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - uses: wow-actions/daily-saying@v1

screenshot

Inputs

Various inputs are defined to let you configure the action:

Note: Workflow command and parameter names are not case-sensitive.

Name Description Default
extract_best_picture Extract the best picture from response true

Outputs

Name Description
content The content of the saying
translation The Chinese translation of the saying
annotation The Chinese annotation of the saying
tts The tts of the saying
picture The picture of the saying
picture2 The picture2 of the saying
picture3 The picture3 of the saying
picture4 The picture4 of the saying
share_picture The picture for sharing
best_picture The best picture picked from picture/picture2picture3/picture4
date The date of the saying

🔖 License

The scripts and documentation in this project are released under the MIT License

About

Fetch a daily saying from iciba.com and output it

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published