Skip to content

Updatre NEWS

Updatre NEWS #980

Workflow file for this run

#
# GitHub Actions for GEOS Web Pages
# Paul Ramsey <[email protected]>
#
name: 'Web'
on:
push:
branches:
- main
jobs:
web:
name: 'Build Web'
runs-on: ubuntu-latest
# Only run docbuild on central repo
if: github.repository == 'libgeos/geos'
steps:
- name: 'Install'
run: |
set -e
uname -a
sudo -E apt-get -yq --no-install-suggests --no-install-recommends install make doxygen
- name: 'Check Out ๐Ÿ“—'
uses: actions/checkout@v4
- name: 'Hugo Build ๐Ÿ› '
# ...or replace 'master' with a full version tag, such as: v0.64.1
uses: jakejarvis/[email protected]
with:
args: --source web --destination public --verbose
- name: 'Doxygen Build ๐Ÿ› '
run: |
set -e
mkdir build.cmake
cd build.cmake
cmake --version
cmake -DBUILD_DOCUMENTATION=YES ..
cmake --build . --target docs
- name: 'Bundle ๐Ÿ› '
run: |
mkdir -p public_html/doxygen
cp -ra web/public/* public_html
cp -ra build.cmake/doxygen/doxygen_docs/html/* public_html/doxygen
- name: 'Deploy ๐Ÿš€'
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: public_html # The folder the action should deploy.