superman66 / wakatime-sync Goto Github PK
View Code? Open in Web Editor NEWUpdate Wakatime summary data to your gist every day
Home Page: http://wakatime.chenhuichao.com
Update Wakatime summary data to your gist every day
Home Page: http://wakatime.chenhuichao.com
请问我现在每天Server酱推送的都是昨天的数据,我是每晚9.30推送的,如何让她推送今天的数据。每天晚上都是看到前一天的数据 o(╥﹏╥)o
最近又重新装了一次,发现无法使用, 检查log文件发现是config语法问题, 把// config.json
去掉就好了
// config.json
{
"wakatimeApiKey": "xxxxxxxxx",
"gistToken": "xxxxxxxxx",
"syncGistId": "xxxxxxxxx"
}
(顺便貌似我的Server酱还是用不了)
找了好半天 结果就在 gist 域名后面
https://gist.github.com/justpsvm/e2f4543f1c3efa16db744be1ae8f167a
其中 e2f4543f1c3efa16db744be1ae8f167a
就是你的 id
启动脚本报错:
`D:\code\git\wakatime-sync (master -> origin) ([email protected])
λ npm run start
[email protected] start D:\code\git\wakatime-sync
NODE_ENV=production pm2 start pm2.json --env production
'NODE_ENV' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: NODE_ENV=production pm2 start pm2.json --env production
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output abov
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dp\AppData\Roaming\npm-cache_logs\2018-12-18T01_10_39_957Z-debug.log `
那个我按照教程一步步来, gist没有问题, server酱的推送测试没问题, 但不过就是没有给我推送代码时间
填了SCU_KEY后,微信那边能正常收到推送信息,但是上传的gist会覆盖掉已经同步了的昨天的wakatime信息,类似下图
所以在dashboard那边会报错
ps: https://wakatime.chenhuichao.com/ 这个地址已经挂了
请问只能同步到昨天的数据吗?
Sorry, I am new to workflow and I don't know how to run workflow manually.
在第四步弄了半天没反应
fork该项目之后:
name: wakatime-sync
uses: superman66/[email protected]
Invalid Workflow File
No event triggers defined in `on`
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve:NODE_ENV=production pm2 start pm2.json --env production
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2019-07-02T08_30_56_462Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:npm run serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2019-07-02T08_30_56_499Z-debug.log
按照 https://github.com/superman66/wakatime-sync/issues/2说的方法,依然不能运行
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.