Skip to content

docs: typos

docs: typos #126

name: Deploy to Github.io
on:
push:
branches:
- dev
jobs:
build_and_deploy:
name: Build site and deploy
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v2
with:
path: opensarlab-docs
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.9
activate-environment: opensarlab-docs
environment-file: opensarlab-docs/environment.yml
- name: Deploy test website
shell: bash -l {0}
run: |
cd opensarlab-docs
# Remove conflicting CNAME for project site
rm docs/CNAME
# Set site URL for dev site
sed -i 's|site_url: https://opensarlab-docs.asf.alaska.edu/|site_url: https://opensarlab-docs.asf.alaska.edu/opensarlab-docs/|' mkdocs.yml
mkdocs gh-deploy --force