mirror of
https://github.com/namibia/awesome-shell.git
synced 2024-09-27 12:29:02 +00:00
Try GitHub Actions CI instead of Travis
This commit is contained in:
parent
49a1f0de2b
commit
788c41203e
21
.github/workflows/ci.yml
vendored
Normal file
21
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
name: GitHub Actions CI
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: master
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check_links:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Check links
|
||||||
|
id: lychee
|
||||||
|
uses: lycheeverse/lychee-action@v1.0.8
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Check lychee exit code
|
||||||
|
run: exit ${{ steps.lychee.outputs.exit_code }}
|
@ -1,7 +0,0 @@
|
|||||||
language: ruby
|
|
||||||
rvm:
|
|
||||||
- 2.7.1
|
|
||||||
before_script:
|
|
||||||
- gem install awesome_bot
|
|
||||||
script:
|
|
||||||
- awesome_bot --request-delay 1 --files README.md,README_ZH-CN.md --white-list https://transfer.sh/
|
|
Loading…
Reference in New Issue
Block a user