Skip to content

fix(srum-analysis): bytes_recv field name in exfil cross-table lookup… #30

fix(srum-analysis): bytes_recv field name in exfil cross-table lookup…

fix(srum-analysis): bytes_recv field name in exfil cross-table lookup… #30

Workflow file for this run

name: Docs
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
name: Build and deploy cargo doc
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Checkout forensicnomicon (path dependency)
run: git clone --depth 1 https://github.com/SecurityRonin/forensicnomicon.git ../forensicnomicon
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@nightly
- name: Cache Cargo registry
uses: Swatinem/rust-cache@9bdad043e88c75890e36ad3bbc8d27f0090dd609 # v2
- name: Build workspace docs
run: |
cargo doc \
--workspace \
--exclude sr-gui \
--exclude ese-test-fixtures \
--no-deps \
--document-private-items
env:
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options --default-theme ayu"
- name: Add redirect index
run: |
cat > target/doc/index.html <<'EOF'
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>srum-forensic — Docs</title>
<meta http-equiv="refresh" content="0; url=sr_cli/index.html">
</head>
<body>
<p>Redirecting to <a href="sr_cli/index.html">sr_cli</a>&hellip;</p>
</body>
</html>
EOF
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
force_orphan: true
commit_message: "docs: deploy cargo doc [skip ci]"