Skip to content

Remove cmake version requirement as it gets checked in the parent file #704

Remove cmake version requirement as it gets checked in the parent file

Remove cmake version requirement as it gets checked in the parent file #704

Workflow file for this run

#
# GitHub Actions for GEOS Web Pages
# Paul Ramsey <pramsey@cleverelephant.ca>
#
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@v3
- name: 'Hugo Build ๐Ÿ› '
# ...or replace 'master' with a full version tag, such as: v0.64.1
uses: jakejarvis/hugo-build-action@v0.88.1
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/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages # The branch the action should deploy to.
folder: public_html # The folder the action should deploy.