Skip to content

Translations update from Hosted Weblate #51

Translations update from Hosted Weblate

Translations update from Hosted Weblate #51

Workflow file for this run

name: build-docs
on:
push:
branches:
- dev-build
- master
pull_request:
branches:
- master
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8 and conda/mamba
uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8
mamba-version: "*"
channels: conda-forge
activate-environment: gmtjb
environment-file: environment_for-building-jb.yml
use-mamba: true
- name: Test environment
shell: bash -l {0}
run: |
conda info
conda list
- name: Build book
shell: bash -l {0}
run: |
bash generate_html.bash
- name: Deploy to gh-pages
# if: github.ref == 'refs/heads/main'
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html