mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 18:10:39 +00:00
Related issues: scylladb/sphinx-scylladb-theme#87 All the variables related to the multiversion extension are now defined in conf.py instead of using the GitHub Actions file. How to test this PR Run make multiversionpreview on docs folder. When you open https://0.0.0.0:5500, the browser should render the documentation site. Closes #7957
31 lines
611 B
YAML
31 lines
611 B
YAML
name: "CI Docs"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'docs/**'
|
|
jobs:
|
|
release:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
persist-credentials: false
|
|
fetch-depth: 0
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v1
|
|
with:
|
|
python-version: 3.7
|
|
- name: Build docs
|
|
run: |
|
|
export PATH=$PATH:~/.local/bin
|
|
cd docs
|
|
make multiversion
|
|
- name: Deploy
|
|
run : ./docs/_utils/deploy.sh
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |