Skip to content

Commit

Permalink
wip: docs update GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
johnalotoski committed Nov 23, 2023
1 parent 8fafbe1 commit e2455fe
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,25 @@ jobs:
nix-build -A maintainer-scripts.update-docs -o update-docs.sh
./update-docs.sh
update-docs-test:
name: Update docs
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Nix
uses: cachix/install-nix-action@v20
with:
extra_nix_config: |
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://cache.iog.io https://cache.nixos.org/
- name: Run nix-build
run: |
nix-build -A maintainer-scripts.update-docs -o update-docs.sh
./update-docs.sh
check-stylish-haskell:
name: Check Stylish Haskell
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions scripts/update-docs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ in
#!${stdenv.shell}
set -euo pipefail
set -x
export PATH="${makeBinPath [ coreutils glibc git openssh gnused mkdocs pandocOrgMdFilter pandoc ]}"
Expand Down

0 comments on commit e2455fe

Please sign in to comment.