Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/multi-branch-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish multi-branch ZIP pages

on:
push:
branches:
- "**"
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

jobs:
publish:
uses: shielded-nate/multi-branch-pages/.github/workflows/publish-multi-branch-pages.yml@7877d18060b344723fdafd145aeeaee6ee9e7361
with:
branch_whitelist: "*"
render_command: |
if ! command -v nix >/dev/null 2>&1; then
curl -fsSL https://install.determinate.systems/nix | sh -s -- install --no-confirm
fi
if [ -e /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh ]; then
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
elif [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
fi
nix develop --command make all-zips
render_output_dir: rendered
3 changes: 1 addition & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Deploy Rendered Site

on:
push:
branches: [ main ]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
Expand Down
Loading