GitHub Actions 实战:自动化部署 Hexo 博客与定时任务
在维护 Hexo 博客的过程中,手动执行 hexo clean && hexo g && hexo d 不仅繁琐,而且容易因为本地环境差异(如 Node.js 版本不一致)导致部署失败。 本文将介绍如何利用 GitHub Actions 实现自动化部署,并展示如何添加...
祝君万事如意心想事成!
在维护 Hexo 博客的过程中,手动执行 hexo clean && hexo g && hexo d 不仅繁琐,而且容易因为本地环境差异(如 Node.js 版本不一致)导致部署失败。 本文将介绍如何利用 GitHub Actions 实现自动化部署,并展示如何添加...
Recently I needed to sync my personal training records from a certain sports website (RQ Run) into my Hexo blog. Because the site requires login to vi...
最近我需要将某个运动网站(RQ Run)上的个人训练记录同步到我的 Hexo 博客中。由于该网站需要登录才能查看详细数据,并且登录过程包含验证码,因此我使用 Node.js 版的 Playwright 编写了一个自动化脚本,结合阿里云 OCR 服务识别验证码,实现了数据的自动抓取,并通过 EJS 模...
你是否遇到过这种需求:每天需要打开某个软件,点击固定的几个按钮,输入一些数据,然后导出报表?这些重复枯燥的工作,其实完全可以交给 Python 来做。 PyAutoGUI 就是这样一个跨平台的 GUI 自动化库,它可以模拟鼠标移动、点击、拖拽以及键盘输入。无论是在 Windows、macOS 还是 ...
While maintaining a Hexo blog, manually running hexo clean && hexo g && hexo d is not just tedious but also prone to deployment failur...
Recently I needed to sync my personal training records from a certain sports website (RQ Run) into my Hexo blog. Because the site requires login to vi...
Recently I needed to sync my personal training records from a certain sports website (RQ Run) into my Hexo blog. Because the site requires login to vi...
你是否遇到过这种需求:每天需要打开某个软件,点击固定的几个按钮,输入一些数据,然后导出报表?这些重复枯燥的工作,其实完全可以交给 Python 来做。 PyAutoGUI 就是这样一个跨平台的 GUI 自动化库,它可以模拟鼠标移动、点击、拖拽以及键盘输入。无论是在 Windows、macOS 还是 ...