From bb274aa7d8dcb4d40cc21b228f90af18d235db4f Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Fri, 25 Nov 2022 14:34:37 +0800 Subject: [PATCH 1/2] chore: use GitHub actions --- .github/workflows/tester.yml | 20 ++++++++++++++++++++ .travis.yml | 7 ------- README.md | 2 +- 3 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/tester.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml new file mode 100644 index 0000000..8d3c1fc --- /dev/null +++ b/.github/workflows/tester.yml @@ -0,0 +1,20 @@ +name: Tester + +on: [push, pull_request] + +permissions: + contents: read + +jobs: + tester: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' # Not needed with a .ruby-version file + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + - name: Install Dependencies + run: gem install awesome_bot + - name: Test + run: awesome_bot README.md --allow-redirect --allow-dupe -w weibo.com,viosey.com,hackernoon.com diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 904dfbf..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: ruby -rvm: - - 2.2 -before_script: - - gem install awesome_bot -script: - - awesome_bot README.md --allow-redirect --allow-dupe -w weibo.com,viosey.com,hackernoon.com diff --git a/README.md b/README.md index 96c082a..42d43d6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ Hexo logo -# Awesome Hexo [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) [![Build Status](https://api.travis-ci.org/hexojs/awesome-hexo.svg?branch=master)](https://travis-ci.org/hexojs/awesome-hexo) +# Awesome Hexo [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) [![Build Status](https://github.com/hexojs/awesome-hexo/workflows/Tester/badge.svg)](https://github.com/hexojs/awesome-hexo/actions?query=workflow%3ATester) > A curated list of awesome things related to Hexo From ac62474f8778f006fc333c068be1fcedd2d02f2a Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Sat, 30 Mar 2024 16:15:01 +0800 Subject: [PATCH 2/2] Fix outdated link --- .github/workflows/tester.yml | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tester.yml b/.github/workflows/tester.yml index 8d3c1fc..e89d2f2 100644 --- a/.github/workflows/tester.yml +++ b/.github/workflows/tester.yml @@ -17,4 +17,4 @@ jobs: - name: Install Dependencies run: gem install awesome_bot - name: Test - run: awesome_bot README.md --allow-redirect --allow-dupe -w weibo.com,viosey.com,hackernoon.com + run: awesome_bot README.md --allow-redirect --allow-dupe -w reddit.com,gitter.im diff --git a/README.md b/README.md index 42d43d6..47006bd 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ - [Getting Started with the Hexo Blogging Framework](https://www.cgmartin.com/2016/01/03/getting-started-with-hexo-blog/) - [Build Hexo 3.0 Blog on Ubuntu 14.04](https://www.digitalocean.com/community/tutorials/how-to-create-a-blog-with-hexo-on-ubuntu-14-04) - How to Create a Blog with Hexo On Ubuntu 14.04 - - [Hexo 3.0 Chinese Tutorial](https://www.jianshu.com/p/465830080ea9?utm_campaign=maleskine&utm_content=note&utm_medium=reader_share&utm_source=weibo) - HEXO+Github,搭建属于自己的博客 + - [Hexo 3.0 Chinese Tutorial](https://web.archive.org/web/20180817021855/https://www.jianshu.com/p/465830080ea9) - HEXO+Github,搭建属于自己的博客 - [The Hexo Author Tommy Chen Presentation Video](https://www.ithome.com.tw/video/108430) - Modern Web 2016 - Hexo 開發歷程 by [Tommy Chen](https://github.com/tommy351) - [Hexo Tutorial](https://www.mikedane.com/static-site-generators/hexo/) - Hexo tutorial for v3.3.9 by Giraffe Academy - [Build a Serverless Production-Ready Blog with Hexo on AWS](https://hackernoon.com/build-a-serverless-production-ready-blog-b1583c0a5ac2?gi=34e8961610b4) @@ -56,7 +56,7 @@ - [Plugins List](https://hexo.io/plugins/) - Whole list of hexo supported plugins - Creating Plugins - - [Develop a plugin for Hexo - Github Card](https://blog.gisonrg.me/2016/04/develop-hexo-github-card/) + - [Develop a plugin for Hexo - Github Card](https://web.archive.org/web/20170214011902/http://blog.gisonrg.me/2016/develop-hexo-github-card/) ## Third-party @@ -71,7 +71,7 @@ - [Meteor](https://docs.meteor.com/) - Build JavaScript apps and websites using Meteor. [Source Code](https://github.com/meteor/docs) - [Theme NexT](https://theme-next.org) - Hexo theme **NexT** official website. [Source Code](https://github.com/theme-next/hexo-theme-next) & [Awesome NexT](https://github.com/theme-next/awesome-next) - [Barret Lee](https://www.barretlee.com/) - Barret Lee's personal website. [Source Code](https://github.com/barretlee/blog) - - [Litten](http://litten.me/) - Hexo theme **Yilia** author Litten's personal blog. [Theme](https://github.com/litten/hexo-theme-yilia) + - [Litten](https://web.archive.org/web/20210617214124/http://litten.me/) - Hexo theme **Yilia** author Litten's personal blog. [Theme](https://github.com/litten/hexo-theme-yilia) - [Jeremy Shaw](https://blog.jeremyshaw.co.nz/) - Jeremy Shaw's custom personal blog. [Source Code](https://github.com/puremana/personal-blog) - [A list of sites created by Hexo](https://github.com/hexojs/hexo/wiki/Sites) - Hexo wiki - [Elements of Programming Interviews](http://elementsofprogramminginterviews.com/) - Book site