Skip to content

Commit

Permalink
TELESTION-446 Add GitHub action to publish
Browse files Browse the repository at this point in the history
Add the GH Actions workflow file, already specifying the custom domain.

The workflow pushes the site to the `gh-pages` branch.
  • Loading branch information
pklaschka committed Dec 15, 2023
1 parent 4b34403 commit 2cd232f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy docs to GitHub Pages

on:
push:
branches:
- main

jobs:
deploy:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@1.26
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: docs.telestion.wuespace.de
CONFIG_FILE: docs/mkdocs.yml
EXTRA_PACKAGES: build-base
REQUIREMENTS: docs/requirements.txt

0 comments on commit 2cd232f

Please sign in to comment.