Skip to content

Commit 3a33c42

Browse files
authored
change to github actions (#41)
1 parent 01044f9 commit 3a33c42

5 files changed

Lines changed: 37 additions & 50 deletions

File tree

.github/workflows/check.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: check
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- master
9+
10+
jobs:
11+
checklinks:
12+
name: Linux
13+
runs-on: ubuntu-latest
14+
strategy:
15+
fail-fast: false
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Ruby
19+
uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: 3.2.1
22+
- name: Setup Rubygems, Bundler, jekyll
23+
run: |
24+
gem update --system --no-document
25+
gem update bundler --no-document
26+
gem install jekyll bundler
27+
bundle install
28+
- name: Build jekyll website with drafts
29+
run: bundle exec jekyll build --drafts
30+
- name: Check for broken links
31+
run: |
32+
bundle exec htmlproofer ./_site --disable-external --no-enforce-https --allow-missing-href --no-check-internal-hash
33+
- name: check more
34+
run: |
35+
_scripts/run_check.pl

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ submitting them back to us. See COPYING for more information.
1111

1212
Otherwise, please do not create mirrors of the site, thanks.
1313

14-
[![Build Status](https://app.travis-ci.com/irchelp/irchelp.github.io.svg?branch=master)](https://app.travis-ci.com/irchelp/irchelp.github.io)
14+
[![status](https://github.com/irchelp/irchelp.github.io/workflows/check/badge.svg)](https://github.com/irchelp/irchelp.github.io)
15+
1516
[![#irchelp on efnet](https://img.shields.io/badge/efnet-%23irchelp-pink.svg)](http://chat.efnet.org:9090/?nick=guest1234&channels=%23irchelp)
1617
[![#irchelp on libera.chat](https://img.shields.io/badge/libera.chat-%23irchelp-pink.svg)](https://web.libera.chat/#irchelp)
1718

_scripts/build-jekyll.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

_scripts/deploy_staging.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)