Skip to content

Commit

Permalink
Combined Haddock Generation (#6146)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeme-wana authored Jun 10, 2024
1 parent f6b9bdc commit 811f9fc
Show file tree
Hide file tree
Showing 6 changed files with 628 additions and 2,652 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/combined-haddock.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Combined Haddock
# This workflow builds a combined haddock and publishes it to:
# https://intersectmbo.github.io/plutus/haddock/master
# https://intersectmbo.github.io/plutus/haddock/release/X.X.X.X
name: "Combined Haddock"
on:
workflow_dispatch:
push:
Expand All @@ -13,4 +16,18 @@ jobs:
environment:
name: github-pages
steps:
- run: exit 0
- name: Checkout
uses: actions/checkout@v4

- name: Build Haddock
run: |
nix develop --accept-flake-config --command bash ./scripts/combined-haddock.sh
- name: Deploy Haddock
uses: JamesIves/github-pages-deploy-action@v4
with:
# This folder is generated in the step above
folder: combined_haddock_dst
target-folder: haddock/${{ github.ref_name }}
# combined_haddock_dst is ~400MB and keeping the entire history is unnecessary.
single-commit: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ node.sock
.pre-commit-config.yaml
secrets/*/.gpg-id
ghcid.txt
combined_haddock*
plutus-pab/test-node/testnet/db
plutus-pab/test-node/alonzo-purple/db
*.actual.json
Expand Down
Loading

0 comments on commit 811f9fc

Please sign in to comment.