-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Create publish-manual.yml (from web interface 'create your own'…
… pages workflow link)
- Loading branch information
1 parent
956ed4b
commit 4078122
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Publish manual via GitHub Pages | ||
on: | ||
workflow_dispatch: | ||
|
||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
name: Deploy manual to pages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout main | ||
uses: actions/checkout@v4 | ||
with: | ||
sparse-checkout: | | ||
.github | ||
docs | ||
- name: Download & unpack Nerd Fonts | ||
env: | ||
font: Ubuntu | ||
version: v3.2.1 | ||
destination: docs/assets/fonts/ | ||
run: | | ||
wget "https://github.com/ryanoasis/nerd-fonts/releases/download/${version}/${font}.zip" | ||
unzip -j "${font}.zip" -d "${destination}/${font}" | ||
- name: Deploy pages | ||
uses: mhausenblas/mkdocs-deploy-gh-pages@master | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CONFIG_FILE: mkdocs.yml |