Skip to content

Commit

Permalink
Beta v9.5 slide (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaIng committed Jun 3, 2024
2 parents 31eae96 + 3c320cf commit 9b41530
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 23 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,39 @@ on: [pull_request, push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
jobs:
main:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login != github.event.pull_request.base.repo.owner.login
# https://github.com/actions/runner-images
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
HEAD_OWNER: ${{ github.event.pull_request.head.repo.owner.login }}
defaults:
run:
shell: sh
working-directory: /dev/shm
steps:
- name: Deploy DietPi-Website locally
id: deploy
run: bash -c "$(curl -sSf "https://raw.githubusercontent.com/${HEAD_OWNER:-$GITHUB_REPOSITORY_OWNER}/DietPi-Website/${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}/deploy.bash")" bash .
run: bash <(curl -sSf "https://raw.githubusercontent.com/${HEAD_OWNER:-$GITHUB_REPOSITORY_OWNER}/DietPi-Website/${GITHUB_HEAD_REF:-$GITHUB_REF_NAME}/deploy.bash") .
- name: Setup JRE for Nu Html Checker
# https://github.com/actions/setup-java/tags
uses: actions/setup-java@v4
with:
distribution: 'temurin'
# https://github.com/adoptium
java-version: '19'
# https://github.com/orgs/adoptium/repositories?q=temurin*-binaries
java-version: '22'
java-package: jre
check-latest: true
- name: Download Nu Html Checker
run: curl -sSfLO 'https://github.com/validator/validator/releases/download/latest/vnu.jar'
- name: Run Nu Html Checker to check HTML, CSS and SVG files
run: |
java -jar vnu.jar --verbose *.html
java -jar vnu.jar --css --verbose css/[!b][!o]*.css # Exclude bootstrap.min.css
java -jar vnu.jar --skip-non-svg --verbose .
run: find . -type f \( -name '*.html' -o -name '*.css' -o -name '*.svg' \) -exec java -jar vnu.jar --verbose --also-check-css --also-check-svg {} +
- name: Check for obsolete image files
if: always() && steps.deploy.outcome == 'success'
run: |
ec=0
while read -r line; do [ $line != ${line#images/dietpi-logo_} ] || grep -rq "$line" *.html || { ec=1; echo "ERROR: $line is not used"; }; done << _EOF_
$(find images/ -type f)
_EOF_
while read -r line; do [ $line != ${line#images/dietpi-logo_} ] || grep -rq "$line" *.html || { ec=1; echo "ERROR: $line is not used"; }; done < <(find images/ -type f)
exit "$ec"
- name: Setup Python for PySpelling
id: python
if: always() && steps.deploy.outcome == 'success'
# https://github.com/actions/setup-python/tags
uses: actions/setup-python@v5
with:
python-version: '3.x'
Expand All @@ -68,4 +58,5 @@ jobs:
tar xf lychee.tar.gz
- name: Run lychee to check Markdown and HTML files
if: always() && steps.lychee.outcome == 'success'
# twitter.com/DietPi_|www.patreon.com/DietPi: Network error: Forbidden
run: ./lychee -En --cache --require-https --exclude '^https://(twitter.com/DietPi_|www.patreon.com/DietPi)$' --github-token '${{ secrets.GITHUB_TOKEN }}' -b '.' '**/*.md' '**/*.html'
2 changes: 2 additions & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,12 @@ Exynos
facto
fanless
favicon
FFmpeg
FHS
FileBrowser
filesystem
Flexbox
Forgejo
FuguHub
daapd
FOSS
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@
<svg class="triangle" viewBox="0 0 100 100" preserveAspectRatio="none" aria-hidden="true"><path d="M0 0h100l-50 100"/></svg>
<!-- Slide 1 -->
<div class="da-slide da-slide-current">
<h2>DietPi v9.4 has been released</h2>
<h4>Check out all changes</h4>
<p>Support for Orange Pi 3 LTS, Zero 2W, Radxa ZERO 3, ROCK 4C Plus; Fixes for Orange Pi 5+ and Zero 3 1.5G RAM Ethernet; M.2 WiFi support for FriendlyELEC NanoPi R5C; CloudShell 2 LCD support for Odroid XU4</p>
<a class="da-link" href="https://dietpi.com/docs/releases/v9_4/" target="_blank" rel="noopener">Release notes</a>
<h2>DietPi Beta v9.5 is ready</h2>
<h4>Please help testing our upcoming release</h4>
<p>Forgejo Git server added to dietpi-software; Jellyfin FFmpeg 5 => 6 upgrade applied on all systems; Fixed reboot on Odroid C1/C2; Fixed onboard Ethernet on Orange Pi Zero 3; Fixed LEDs on NanoPi NEO</p>
<a class="da-link" href="https://github.com/MichaIng/DietPi/issues/7097" target="_blank" rel="noopener">All info</a>
<div class="da-img"><img class="img-fluid" src="images/dietpi-logo_360x360.png" alt="DietPi logo" width="300" height="300" loading="lazy"></div>
</div>
<!-- Slide 2 -->
Expand Down
4 changes: 2 additions & 2 deletions stats.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,8 @@ <h5>Bookworm on x86_64 UEFI PC at 2024-05-31</h5>
<tr><td>Temporary files</td><td class="win">RAM disk (tmpfs)</td><td></td><td class="los">rootfs</td></tr>
<tr><td>Log files</td><td class="win">RAM disk (tmpfs)</td><td></td><td class="los">rootfs</td></tr>
<tr><td>SSH pre-installed</td><td class="win">Yes</td><td></td><td class="los">selection required</td></tr>
<tr><td>Download size</td><td class="los">650 MiB</td><td>135%</td><td class="win">629 MiB</td></tr>
<tr><td>ISO size</td><td class="los">677 MiB</td><td>107%</td><td class="win">629 MiB</td></tr>
<tr><td>Download size</td><td class="los">650 MiB</td><td>103%</td><td class="win">629 MiB</td></tr>
<tr><td>ISO size</td><td class="los">677 MiB</td><td>108%</td><td class="win">629 MiB</td></tr>
<tr><td>Build date</td><td>2024-05-13</td><td></td><td>2024-02-10</td></tr>
</table>
</div>
Expand Down

0 comments on commit 9b41530

Please sign in to comment.