这是indexloc提供的服务,不要输入任何密码
Skip to content

Provide README with WakaTime statistics #10

Provide README with WakaTime statistics

Provide README with WakaTime statistics #10

Workflow file for this run

name: Readme
on:
workflow_dispatch:
schedule:
# runs at 12 AM UTC
- cron: "0 0 * * *"
push:
branches:
- main
jobs:
default:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create Snake gif
uses: Platane/snk/svg-only@v3
with:
github_user_name: ${{ github.repository_owner }}
outputs: |
dist/github-contribution-grid-snake.svg
dist/github-contribution-grid-snake-dark.svg?palette=github-dark
- name: Push Snake
uses: crazy-max/ghaction-github-pages@v3.1.0
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Wakatime
uses: NickRTR/WakaTime-Readme@main
env:
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
THEME: "circle-purple"