forked from haugene/docker-transmission-openvpn
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (26 loc) · 812 Bytes
/
mkdocs.yml
File metadata and controls
31 lines (26 loc) · 812 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
name: MkDocs Deploy
on:
push:
branches:
- master
paths:
- docs/*
- .github/workflows/mkdocs.yml
jobs:
build-and-deploy-gh-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Mkdocs and Material theme
run: pip install mkdocs mkdocs-material
- name: Get MkDocs version
run: |
mkdocs=$(mkdocs --version | awk '{print $3}')
echo "mkdocs_version=$mkdocs" >> $GITHUB_ENV
- name: Build and push site
run: mkdocs gh-deploy --message "Deployed ${{ github.sha }} with MkDocs version ${{ env.mkdocs_version }}. [skip ci]" --force