mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
33 lines
649 B
YAML
33 lines
649 B
YAML
name: "CI Docs"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'docs/**'
|
|
jobs:
|
|
release:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
LATEST_VERSION: master
|
|
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 }} |