forked from emacs-lsp/lsp-java
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (27 loc) · 775 Bytes
/
docs.yml
File metadata and controls
33 lines (27 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Docs
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: purcell/setup-emacs@master
with:
version: 27.1
- uses: conao3/setup-cask@master
with:
version: 0.8.4
- name: MkDocs
run: |
cp -rf README.md images docs
docker login docker.pkg.github.com --username $GITHUB_ACTOR --password ${{ secrets.GITHUB_TOKEN }}
docker run --rm -v ${PWD}:/docs docker.pkg.github.com/emacs-lsp/docs-image/docs-image -- build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site