Skip to content

Update .gitignore

Update .gitignore #4

Workflow file for this run

name: Deploy our mkdocs site to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# Does also cancel in-progress runs, if someone pushes a new update quickly.
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
name: Setup Conda
with:
activate-environment: 10tev-docs
environment-file: environment.yml
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with mkdocs
shell: bash -eo pipefail -l {0}
run: mkdocs build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
path: site/

Check failure on line 42 in .github/workflows/mkdocs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/mkdocs.yml

Invalid workflow file

You have an error in your yaml syntax on line 42
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4