Skip to content

Commit

Permalink
add website build/deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
timkpaine committed Aug 6, 2024
1 parent 89bb29e commit 8807f84
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Docs

on:
push:
branches:
- main
tags:
- v*
paths-ignore:
- LICENSE
- README.md

permissions:
contents: write

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- run: pip install yardang
- run: yardang build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/html
force_orphan: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs/html
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2024 the airflow-laminar authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
29 changes: 29 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[build-system]
requires = ["hatchling"]
build-backend="hatchling.build"

[project]
name = "airflow-laminar"
authors = [{name = "the airflow-laminar authors", email = "[email protected]"}]
description = "Python Project Templates"
readme = "README.md"
license = { text = "Apache-2.0" }
version = "0.1.0"
requires-python = ">=3.9"
keywords = []
classifiers = []
dependencies = []

[project.urls]
Repository = "https://github.com/airflow-laminar"
Homepage = "https://airflow-laminar.github.io/"

[project.optional-dependencies]
develop = []

[tool.yardang]
title = "Laminar"
root = "profile/README.md"
cname = "airflow-laminar.github.io"
pages = []
use-autoapi = false

0 comments on commit 8807f84

Please sign in to comment.