Stethoscope CI #1529
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Stethoscope CI | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
repository_dispatch: | |
types: [stethoscope] | |
workflow_dispatch: | |
jobs: | |
release: | |
name: Daily | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Update data using Stethoscope | |
uses: stethoscope-js/action@master | |
env: | |
GOODREADS_USER_ID: ${{ secrets.GOODREADS_USER_ID }} | |
GOODREADS_KEY: ${{ secrets.GOODREADS_KEY }} | |
GOODREADS_SECRET: ${{ secrets.GOODREADS_SECRET }} | |
GOODREADS_CALLBACK_URL: ${{ secrets.GOODREADS_CALLBACK_URL }} | |
POCKET_CASTS_USERNAME: ${{ secrets.POCKET_CASTS_USERNAME }} | |
POCKET_CASTS_PASSWORD: ${{ secrets.POCKET_CASTS_PASSWORD }} | |
SPOTIFY_CLIENT_ID: ${{ secrets.SPOTIFY_CLIENT_ID }} | |
SPOTIFY_CLIENT_SECRET: ${{ secrets.SPOTIFY_CLIENT_SECRET }} | |
SPOTIFY_CALLBACK_URL: ${{ secrets.SPOTIFY_CALLBACK_URL }} | |
SPOTIFY_ACCESS_TOKEN: ${{ secrets.SPOTIFY_ACCESS_TOKEN }} | |
SPOTIFY_REFRESH_TOKEN: ${{ secrets.SPOTIFY_REFRESH_TOKEN }} | |
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }} | |
RESCUETIME_API_KEY: ${{ secrets.RESCUETIME_API_KEY }} | |
LASTFM_API_KEY: ${{ secrets.LASTFM_API_KEY }} | |
LASTFM_SHARED_SECRET: ${{ secrets.LASTFM_SHARED_SECRET }} | |
LASTFM_USERNAME: ${{ secrets.LASTFM_USERNAME }} | |
CLOCKIFY_WORKSPACE_ID: ${{ secrets.CLOCKIFY_WORKSPACE_ID }} | |
CLOCKIFY_USER_ID: ${{ secrets.CLOCKIFY_USER_ID }} | |
CLOCKIFY_API_KEY: ${{ secrets.CLOCKIFY_API_KEY }} | |
GOOGLE_FIT_CLIENT_ID: ${{ secrets.GOOGLE_FIT_CLIENT_ID }} | |
GOOGLE_FIT_CLIENT_SECRET: ${{ secrets.GOOGLE_FIT_CLIENT_SECRET }} | |
GOOGLE_FIT_ACCESS_TOKEN: ${{ secrets.GOOGLE_FIT_ACCESS_TOKEN }} | |
GOOGLE_FIT_REFRESH_TOKEN: ${{ secrets.GOOGLE_FIT_REFRESH_TOKEN }} | |
OURA_PERSONAL_ACCESS_TOKEN: ${{ secrets.OURA_PERSONAL_ACCESS_TOKEN }} | |
TWITTER_API_KEY: ${{ secrets.TWITTER_API_KEY }} | |
TWITTER_API_SECRET_KEY: ${{ secrets.TWITTER_API_SECRET_KEY }} | |
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} | |
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} | |
TWITTER_SCREEN_NAME: ${{ secrets.TWITTER_SCREEN_NAME }} | |
- name: Commit new data | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: ":card_file_box: Update daily life data [skip ci]" | |
commit_user_name: Stethoscoper | |
commit_user_email: [email protected] | |
commit_author: Stethoscoper <[email protected]> | |
skip_dirty_check: true |