Skip to content

More testing and finalizing of themis #3022

More testing and finalizing of themis

More testing and finalizing of themis #3022

Workflow file for this run

name: docs
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: 'build documentation'
runs-on: ubuntu-latest
container: ghcr.io/skaginn3x/skaginn3x/framework/tfc-toolchain:latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: lukka/get-cmake@latest
- name: Restore artifacts, or setup vcpkg (do not install any package)
uses: lukka/run-vcpkg@v11
with:
vcpkgDirectory: '/opt/vcpkg'
vcpkgGitCommitId: '66a252f70eebdd744c02d7ab8c1cc6fe123c70ee'
vcpkgJsonGlob: 'vcpkg.json'
- name: Build
run: |
cmake --workflow --preset workflow-docs
- name: Upload read the docs
uses: actions/upload-pages-artifact@v1
with:
path: './build/pack-gcc-debug/docs/sphinx'
retention-days: 1
deploy:
if: github.ref == 'refs/heads/main'
name: 'Deploy github pages'
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1