-
Notifications
You must be signed in to change notification settings - Fork 7
57 lines (57 loc) · 2.73 KB
/
stethoscope.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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