feat: refactor surroundings fom and dom [132] (#140) #8
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
name: "GitHub Pages documentation" | |
on: | |
push: | |
branches: [ master ] | |
permissions: | |
contents: write | |
jobs: | |
docs: | |
if: "!startsWith(github.event.head_commit.message, 'bump:')" | |
name: Build (and deploy) documentation | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: Setup environment | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniforge-variant: Mambaforge | |
# channels: conda-forge, nodefaults | |
# channel-priority: strict | |
environment-file: .config/environment.yml | |
activate-environment: koswat_env | |
- name: Install dependencies | |
run: poetry install --without dev,test | |
- run: poetry run mkdocs gh-deploy --force |