Skip to content

Commit

Permalink
docs: Create publish-manual.yml (from web interface 'create your own'…
Browse files Browse the repository at this point in the history
… pages workflow link)
  • Loading branch information
Omnikron13 authored May 12, 2024
1 parent 956ed4b commit 4078122
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/publish-manual.yml
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

0 comments on commit 4078122

Please sign in to comment.