Skip to content

Modify <gravity> nodes and add correct documentation #87

Modify <gravity> nodes and add correct documentation

Modify <gravity> nodes and add correct documentation #87

Workflow file for this run

# ========================================================================================
# (C) (or copyright) 2024. Triad National Security, LLC. All rights reserved.
#
# This program was produced under U.S. Government contract 89233218CNA000001 for Los
# Alamos National Laboratory (LANL), which is operated by Triad National Security, LLC
# for the U.S. Department of Energy/National Nuclear Security Administration. All rights
# in the program are reserved by Triad National Security, LLC, and the U.S. Department
# of Energy/National Nuclear Security Administration. The Government is granted for
# itself and others acting on its behalf a nonexclusive, paid-up, irrevocable worldwide
# license in this material to reproduce, prepare derivative works, distribute copies to
# the public, perform publicly and display publicly, and to permit others to do so.
# ========================================================================================
name: Build And Deploy Docs
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
release:
types:
- created
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set system to non-interactive mode
run: export DEBIAN_FRONTEND=noninteractive
- name: Dependencies
run: |
pip install -U sphinx-rtd-theme pyyaml
- name: Build
run: |
cd ./doc
sphinx-build -b html . ../public
- name: Deploy
if: ${{ (github.event_name == 'push') }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
force_orphan: true