Skip to content

Update gist with WakaTime stats #1580

Update gist with WakaTime stats

Update gist with WakaTime stats #1580

Workflow file for this run

name: Update gist with WakaTime stats
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 0 * * *"
jobs:
build:
name: Update-gist
runs-on: ubuntu-latest
env:
WAKATIME_API_KEY: ${{ secrets.WAKATIME_API_KEY }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIST_ID: 9bc7025496e478f439b9cd43eba989a4
GIST_BARSTYLE: SOLIDLT
GIST_BARLENGTH: -1
GIST_TIMESTYLE: SHORT
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.14
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Update-gist
run: go run ./cmd/box/main.go