Nginx conf: list <server> SSL only if a certificate is used #510
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy documentation | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-and-deploy-docs: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
if: github.repository_owner == 'cesium-ml' | |
steps: | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/pip | |
~/.cache/sphinx | |
~/.ccache | |
~/.local | |
~/.npm | |
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.8" | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.docs.txt | |
- name: Build docs | |
run: | | |
cd doc | |
make html | |
touch _build/html/.nojekyll | |
- name: Install SSH Client 🔑 | |
if: github.ref == 'refs/heads/main' | |
uses: webfactory/ssh-agent@v0.4.1 | |
with: | |
ssh-private-key: ${{ secrets.CI_DEPLOY_KEY }} | |
- name: Deploy docs | |
if: github.ref == 'refs/heads/main' | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
FOLDER: doc/_build/html | |
REPOSITORY_NAME: cesium-ml/baselayer | |
BRANCH: gh-pages | |
SSH: true |