Skip to content

floogen: Publish on PyPI (#160) #17

floogen: Publish on PyPI (#160)

floogen: Publish on PyPI (#160) #17

Workflow file for this run

# Copyright 2024 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
# Author: Tim Fischer <fischeti@iis.ee.ethz.ch>
name: Build and deploy Docs
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/configure-pages@v5
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
# Zensical does not allow symlinks outside of the docs folder,
# so we copy it in.
- name: Copy CHANGELOG
run: cp CHANGELOG.md docs/CHANGELOG.md
- run: uv run zensical build --clean
- uses: actions/upload-pages-artifact@v4
with:
path: site
- uses: actions/deploy-pages@v4
id: deployment