-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0541f6f
commit 5090035
Showing
2 changed files
with
37 additions
and
1 deletion.
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,32 @@ | ||
name: Deploy docs | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: main | ||
paths: | ||
- 'docs/**' | ||
- 'mkdocs.yml' | ||
- 'Pipfile' | ||
|
||
jobs: | ||
build: | ||
runs-on: [self-hosted, linux] | ||
steps: | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.10' | ||
|
||
- run: python -m pip install build | ||
|
||
- name: Install poetry | ||
run: make install-poetry | ||
|
||
- name: Install dependencies | ||
run: make install-env | ||
|
||
- name: Build and Deploy docs | ||
run: make deploy-docs |
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