Skip to content

Merge pull request #29 from cryspen/jonas/ci-docs #1

Merge pull request #29 from cryspen/jonas/ci-docs

Merge pull request #29 from cryspen/jonas/ci-docs #1

Workflow file for this run

name: Build and Deploy GH Pages for ATLAS
on:
workflow_dispatch:
push:
branches:
- main
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Documentation
run: |
cargo doc --no-deps
echo "<meta http-equiv=\"refresh\" content=\"0; url=scrambledb\">" > target/doc/index.html
cp -r target/doc docs
- name: Upload Documentation Artifact
uses: actions/upload-pages-artifact@v2
with:
path: "hacspec-scrambledb/docs"
- name: Deploy Documentation to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2