Setup docs
This commit is contained in:
parent
6314c75c9f
commit
208ef5670c
|
@ -0,0 +1,16 @@
|
|||
on: push
|
||||
name: Build and deploy GH Pages
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3.0.0
|
||||
- name: build_and_deploy
|
||||
uses: shalzz/zola-deploy-action@v0.16.1
|
||||
env:
|
||||
BUILD_DIR: documentation
|
||||
# Target branch
|
||||
PAGES_BRANCH: gh-pages
|
||||
TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "documentation"]
|
||||
path = documentation
|
||||
url = https://github.com/MTRNord/matrix-spam-ml-docs.git
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 8afa4e178dafabd4a5a7a9397090e1072f7df351
|
Loading…
Reference in New Issue