Skip to content

Plugins settings - update #8059

Plugins settings - update

Plugins settings - update #8059

Workflow file for this run

name: Docs builds
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
paths-ignore:
- 'locale/**'
pull_request:
paths-ignore:
- 'locale/**'
permissions: # added using https://github.com/step-security/secure-repo
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
format: [html, pdf]
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: block
allowed-endpoints: >
api.ipify.org:443
archive.ubuntu.com:443
azure.archive.ubuntu.com:80
cdn.fwupd.org:443
esm.ubuntu.com:443
files.pythonhosted.org:443
github.com:443
motd.ubuntu.com:443
motd.ubuntu.com:80
packages.microsoft.com:443
ppa.launchpadcontent.net:443
pypi.org:443
qgis.org:443
raw.githubusercontent.com:443
security.ubuntu.com:443
- name: Check out repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 1
- name: Set up Python 3.12
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: '3.12'
- name: Install Requirements
run: |
if [[ ${{ matrix.format }} != "html" ]]; then
sudo apt-get update && sudo apt-get install -y texlive-xetex fonts-freefont-otf
fi
python -m pip install --upgrade pip
pip install -r REQUIREMENTS.txt
- name: Build English ${{ matrix.format }} documentation
run: |
make ${{ matrix.format }}
- name: Upload ${{ matrix.format }} build artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: ${{ matrix.format }} build
path: build/${{ matrix.format }}
retention-days: 15