Everest/charge som add git submodules #48
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: Link check | |
# Allow to trigger on pull requests and manually via Github Actions | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
# Use Ubuntu as environment | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository with submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- name: Initialize and update submodules | |
run: git submodule update --init --recursive | |
# This external action cares about all the sphinx stuff | |
- name: Build project | |
uses: ammaraskar/[email protected] | |
with: | |
build-command: "sphinx-build -b linkcheck source/ build/" | |
docs-folder: "docs/" | |