Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
levisingularity committed Aug 13, 2024
1 parent ff990e9 commit 4aa6d13
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Test

on:
push:
branches: fix/404-docs

jobs:
publish:
environment: prod
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ^3.10

- name: Install Poetry
run: |
pip install poetry
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
- name: Update Documentation
run: |
poetry lock --no-update
poetry export --with doc -f requirements.txt | pip install -r /dev/stdin
mkdocs gh-deploy --force

0 comments on commit 4aa6d13

Please sign in to comment.