Skip to content

Commit

Permalink
ci(gh-pages): preview website for PR builds in RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Mar 6, 2025
1 parent fd9f10f commit 7100fd4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions gh-pages-template/.readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

version: 2

build:
os: ubuntu-24.04
tools:
ruby: "3.3"
apt_packages:
- 7zip
- jq
jobs:
install:
- |
mkdir -p "./tmp"
branch="master"
base_url="https://raw.githubusercontent.com/LizardByte/LizardByte.github.io"
url="${base_url}/refs/heads/${branch}/scripts/readthedocs_build.sh"
curl -sSL -o "./tmp/readthedocs_build.sh" "${url}"
chmod +x "./tmp/readthedocs_build.sh"
build:
html:
- "./tmp/readthedocs_build.sh"

0 comments on commit 7100fd4

Please sign in to comment.