Skip to content

chore: update SHA512 hash for time-shield-cpp v1.0.5 #154

chore: update SHA512 hash for time-shield-cpp v1.0.5

chore: update SHA512 hash for time-shield-cpp v1.0.5 #154

Workflow file for this run

name: publish
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: "true"
fetch-depth: 0
- name: Inject version into mainpage.md
run: |
TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "0.0.0-untagged")
TAG=$(echo "$TAG" | sed 's/^v//')
echo "Using version: $TAG"
test -f docs/mainpage.md || { echo "mainpage.md not found!"; exit 1; }
sed -i "0,/VERSION_PLACEHOLDER/s//$TAG/" docs/mainpage.md
- name: Generate Documentation
uses: mattnotmitt/doxygen-action@edge
- name: Publish generated content to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: docs/html
publish_branch: gh-pages