Skip to content

Commit 6ce59ac

Browse files
authored
Merge pull request #197 from dschrempf/fix-ci-doc
2 parents cd0f5d2 + c589fa7 commit 6ce59ac

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

.github/workflows/docs.yml

+9-10
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v3
12-
13-
- name: MkDocs
14-
run: |
15-
cp -rf README.md images docs
16-
docker run --rm -v ${PWD}:/docs squidfunk/mkdocs-material -- build
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
1714

18-
- name: Deploy
19-
uses: peaceiris/actions-gh-pages@v3
15+
- uses: actions/setup-python@v5
2016
with:
21-
github_token: ${{ secrets.GITHUB_TOKEN }}
22-
publish_dir: ./site
17+
python-version: 3.x
18+
19+
- run: pip install mkdocs-material mkdocs-awesome-pages-plugin mkdocs-git-revision-date-localized-plugin
20+
- run: cp -r README.md images docs
21+
- run: mkdocs gh-deploy --force

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
experimental: true
3434

3535
steps:
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3737

3838
- uses: jcs090218/setup-emacs@master
3939
with:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
lsp-haskell
22
===========
33

4-
[![MELPA](https://melpa.org/packages/lsp-haskell-badge.svg)](https://melpa.org/#/lsp-haskell) [![Build Status](https://travis-ci.com/emacs-lsp/lsp-haskell.svg?branch=master)](https://travis-ci.com/emacs-lsp/lsp-haskell)
4+
[![MELPA](https://melpa.org/packages/lsp-haskell-badge.svg)](https://melpa.org/#/lsp-haskell) ![Build Status](https://github.com/emacs-lsp/lsp-haskell/actions/workflows/test.yml/badge.svg) ![Docs](https://github.com/emacs-lsp/lsp-haskell/actions/workflows/docs.yml/badge.svg)
55

66
An Emacs Lisp library for interacting with a Haskell language server such as [`haskell-language-server`](https://github.com/haskell/haskell-language-server/) using Microsoft's [Language Server Protocol](https://github.com/Microsoft/language-server-protocol/).
77

mkdocs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ repo_url: https://github.com/emacs-lsp/lsp-haskell
2525
markdown_extensions:
2626
- pymdownx.superfences
2727
- pymdownx.emoji:
28-
emoji_index: !!python/name:materialx.emoji.twemoji
29-
emoji_generator: !!python/name:materialx.emoji.to_svg
28+
emoji_index: !!python/name:material.extensions.emoji.twemoji
29+
emoji_generator: !!python/name:material.extensions.emoji.to_svg
3030
- codehilite
3131
- toc:
3232
permalink: '#'

0 commit comments

Comments
 (0)