Skip to content

Commit ef7c19c

Browse files
authored
Check links on generated page, once a month (#304)
1 parent a60f495 commit ef7c19c

File tree

5 files changed

+34
-12
lines changed

5 files changed

+34
-12
lines changed

.github/workflows/autoreview.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ jobs:
1111
with:
1212
pattern: "*.md"
1313
locale: "US"
14-
checklinks:
15-
runs-on: ubuntu-22.04
16-
steps:
17-
- uses: actions/checkout@v4
18-
- name: Link Checker
19-
uses: lycheeverse/[email protected]
20-
with:
21-
args: --verbose './**/*.md'
22-
fail: true
2314
guids:
2415
runs-on: ubuntu-22.04
2516
steps:

.github/workflows/links.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: links
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: "0 0 * * 0"
6+
7+
jobs:
8+
linkChecker:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- run: sudo apt-get install ruby-full build-essential zlib1g-dev git
13+
- uses: ruby/setup-ruby@v1
14+
with:
15+
ruby-version: '3.2.0'
16+
- run: gem install bundler jekyll --no-document
17+
- run: bundle install
18+
- run: bundle exec jekyll build
19+
- name: Link Checker
20+
id: lychee
21+
uses: lycheeverse/[email protected]
22+
with:
23+
args: --verbose --max-concurrency 1 --retry-wait-time 30 --exclude-mail './_site/**/*.html'
24+
- name: Create Issue From File
25+
if: env.lychee_exit_code != 0
26+
uses: peter-evans/create-issue-from-file@v4
27+
with:
28+
title: Link Checker Report
29+
content-filepath: ./lychee/out.md
30+
labels: bug

.lycheeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
https://forum.antennapod.org
22
http://llama.location.profiles
33
https:\/\/(www\.)?twitter\.com\/antennapod
4+
https:\/\/twitter.com/intent/tweet.*

_blog/2020-09-29-Version 2 changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Version 2.0 Changelog
33
excerpt: AntennaPod version 2 released with a range of new features
44
date: "2020-09-29 12:00:00"
5-
image: "pic.png"
5+
image: "2020/default.png"
66
author: keunes
77
layout: blog
88
unlisted: true
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
You can set AntennaPod to download episodes to your sd card instead of the internal memory. This ensures that you have more space for episodes. To select the storage card, go to `Settings` » `Storage` » `Data folder`.
1+
You can set AntennaPod to download episodes to your sd card instead of the internal memory. This ensures that you have more space for episodes. To select the storage card, go to `Settings` » `Downloads` » `Data folder`.
22

33
## Troubleshooting
44

55
It might be possible that your SD card does not show up in the `Choose Data Folder` dialog. For your SD card to show up, Android must recognize the card as external storage. Either the card is not mounted correctly or your smartphone manufacturer configured the hardware incorrectly.
66

7-
If you are running Android 6+ (Marshmallow or newer), you can try [formatting](https://lmgtfy.com/?q=android+6+sd+card+internal+storage) the SD card as internal storage. Else, there is nothing we can do to fix this.
7+
If you are running Android 6+ (Marshmallow or newer), you can try formatting the SD card as internal storage. Else, there is nothing we can do to fix this.

0 commit comments

Comments
 (0)