Skip to content

Add github actions for deploying the website #3

Add github actions for deploying the website

Add github actions for deploying the website #3

Workflow file for this run

name: Publish
on:
push:
branches: [source]
jobs:
publish:
name: Publish website
on: ubuntu-latest

Check failure on line 9 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / Publish

Invalid workflow file

The workflow is not valid. .github/workflows/publish.yml (Line: 9, Col: 5): Unexpected value 'on' .github/workflows/publish.yml (Line: 8, Col: 5): Required property is missing: runs-on
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install dependencies
run: |
pip install -U pip poetry
poetry install
- name: Build
run: mkdocs build
- name: Publish
uses: actions/upload-pages-artifact@v3
with:
path: "site"