Gather RQ statistical data and write it to google sheet #1
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: Gather RQ statistical data and write it to google sheet | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "30 17 * * *" | |
# push: | |
# branches: | |
# - main | |
env: | |
# please change to your own config. | |
RQ_COOKIE: ${{ secrets.RQ_COOKIE }} | |
RQ_CSRF_TOKEN: ${{ secrets.RQ_CSRF_TOKEN }} | |
RQ_USERID: ${{ secrets.RQ_USERID }} | |
GOOGLE_SHEET_ID: ${{ secrets.GOOGLE_SHEET_ID }} | |
GOOGLE_API_CLIENT_EMAIL: ${{ secrets.GOOGLE_API_CLIENT_EMAIL }} | |
GOOGLE_API_PRIVATE_KEY: ${{ secrets.GOOGLE_API_PRIVATE_KEY }} | |
BARK_KEY: ${{ secrets.BARK_KEY }} | |
GARMIN_USERNAME: ${{ secrets.GARMIN_USERNAME }} | |
GARMIN_PASSWORD: ${{ secrets.GARMIN_PASSWORD }} | |
GARMIN_GLOBAL_USERNAME: ${{ secrets.GARMIN_GLOBAL_USERNAME }} | |
GARMIN_GLOBAL_PASSWORD: ${{ secrets.GARMIN_GLOBAL_PASSWORD }} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Gather RQ statistical data and write it to google sheet | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
cache: 'yarn' | |
- run: yarn | |
- run: yarn rq | |
timeout-minutes: 5 |