Skip to content

feat: build pixelfed for php 8.4 #543

feat: build pixelfed for php 8.4

feat: build pixelfed for php 8.4 #543

Workflow file for this run

name: Documentation
on:
# See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch
workflow_dispatch:
# See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#push
push:
branches:
- "*"
- "**"
jobs:
deadlinks:
name: "dead links"
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: generate .env docs
run: scripts/dottie template --file .env.docker --with-disabled docs-customization/template/dot-env.template.tmpl > docs/customize/settings.md
- name: build container
run: docker build -t docker-pixelfed-docs -f Dockerfile.docs .
- name: dist site
run: docker run --rm -v ${PWD}:/docs docker-pixelfed-docs build
- name: "Setup NodeJS"
uses: actions/setup-node@v4
- name: Start HTTP server
run: |
find site/
npx http-server --port 8000 site/ &
- name: Wait for HTTP server to respond
run: curl --retry-delay 1 --retry 30 --retry-max-time 30 --retry-all-errors --fail -o /dev/null http://0.0.0.0:8000/
- name: check for dead links
run : |
docker run --rm --net=host raviqqe/muffet \
--verbose \
--color=always \
--include 'https://jippi\.github\.io/docker-pixelfed/.*' \
--include 'http://0\.0\.0\.0:8000/.*' \
--include 'https://github\.com/jippi/docker-pixelfed/.*' \
--exclude 'https://github\.com/jippi/docker-pixelfed/raw/main/docs/customize/settings.md' \
--header 'Accept-Encoding:deflate, gzip' \
--buffer-size 8192 \
http://0.0.0.0:8000/