mirror of
https://github.com/jomjol/AI-on-the-edge-device-docs.git
synced 2025-12-06 11:36:53 +03:00
Setup (#1)
* . * . * Add files via upload * Create build-docs.yaml * Delete .github/workflow directory * . * . * Update build-docs.yaml * Update build-docs.yaml * . * . * . * . * . * . * . Co-authored-by: CaCO3 <caco@ruinelli.ch>
This commit is contained in:
27
.github/workflows/build-docs.yaml
vendored
Normal file
27
.github/workflows/build-docs.yaml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Build and Pack
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
#########################################################################################
|
||||
## Build the documentation using mkdoc
|
||||
## It will be pushed to the gh-pages branch
|
||||
#########################################################################################
|
||||
build-documentation:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v2
|
||||
- run: |
|
||||
pip install --upgrade pip && pip install mkdocs mkdocs-gen-files mkdocs-awesome-pages-plugin
|
||||
git config user.name 'github-actions[bot]'
|
||||
git config user.email 'github-actions[bot]@users.noreply.github.com'
|
||||
- name: Publish docs
|
||||
run: |
|
||||
mkdocs gh-deploy
|
||||
Reference in New Issue
Block a user