diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..7027c25 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,27 @@ +name: ci +on: + push: + branches: + - main + pull_request: + branches: + - main +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.8' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install --upgrade pipenv + pipenv install + - name: deploy mkdocs gh-pages site + run: | + pipenv run mkdocs build + poetry run mkdocs gh-deploy --force diff --git a/Pipfile b/Pipfile index 0d90f9f..8a3f25f 100644 --- a/Pipfile +++ b/Pipfile @@ -5,9 +5,10 @@ verify_ssl = true [packages] mkdocs = "*" +mkdocs-material = {git = "ssh://git@git.20c.com/gh/squidfunk/mkdocs-material-insiders.git"} [dev-packages] invoke = "*" [requires] -python_version = "3.7" +python_version = "3.8"