Skip to content

Merge pull request #223 from emacs-lsp/ci/29.4 #347

Merge pull request #223 from emacs-lsp/ci/29.4

Merge pull request #223 from emacs-lsp/ci/29.4 #347

Workflow file for this run

name: Docs
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: MkDocs
run: |
cp -rf README.md CHANGELOG.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