Skip to content

Commit

Permalink
Changed docs location
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeTravelPenguin committed Nov 12, 2023
1 parent 5cdfc2c commit eb980a6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:

- name: Configure the build
run: |
cabal configure --enable-documentation --haddock-output-dir=docs
cabal configure --enable-documentation
cabal build --dry-run
- name: Restore cached dependencies
Expand All @@ -109,7 +109,8 @@ jobs:

- name: Build documentation
run: |
echo "docs_dir=$(cabal haddock all | tail -1 | xargs dirname | xargs dirname)" >> "$GITHUB_ENV"
dir=$(cabal haddock all | tail -1 | xargs dirname | xargs dirname)
mv $dir docs
- name: Save cached dependencies
uses: actions/cache/save@v3
Expand All @@ -123,5 +124,5 @@ jobs:
with:
clean: true
branch: gh-pages
folder: ${{ env.docs_dir }}
folder: docs

0 comments on commit eb980a6

Please sign in to comment.