fdl-cli 0.12.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,41 @@
1
+ name: Docs
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ paths:
7
+ - "docs/**"
8
+ - "zensical.toml"
9
+ - "CHANGELOG.md"
10
+ - ".github/workflows/docs.yml"
11
+ workflow_dispatch:
12
+
13
+ permissions:
14
+ contents: read
15
+ pages: write
16
+ id-token: write
17
+
18
+ concurrency:
19
+ group: pages
20
+ cancel-in-progress: false
21
+
22
+ jobs:
23
+ build:
24
+ runs-on: ubuntu-latest
25
+ steps:
26
+ - uses: actions/checkout@v5
27
+ - uses: astral-sh/setup-uv@v7
28
+ - run: uv run zensical build
29
+ - uses: actions/upload-pages-artifact@v4
30
+ with:
31
+ path: site
32
+
33
+ deploy:
34
+ needs: build
35
+ runs-on: ubuntu-latest
36
+ environment:
37
+ name: github-pages
38
+ url: ${{ steps.deployment.outputs.page_url }}
39
+ steps:
40
+ - id: deployment
41
+ uses: actions/deploy-pages@v5
@@ -0,0 +1,29 @@
1
+ name: Publish
2
+
3
+ # Builds a tagged release and publishes it to PyPI via trusted publishing.
4
+ # Decoupled from release.yml so a publish failure (e.g. a trusted-publisher
5
+ # misconfiguration) does not strand an already-created release: re-run this
6
+ # workflow with the tag to retry the upload.
7
+
8
+ on:
9
+ workflow_dispatch:
10
+ inputs:
11
+ ref:
12
+ description: Git ref (tag) to build and publish to PyPI
13
+ required: true
14
+
15
+ jobs:
16
+ publish:
17
+ runs-on: ubuntu-latest
18
+ permissions:
19
+ id-token: write
20
+ steps:
21
+ - uses: actions/checkout@v5
22
+ with:
23
+ ref: ${{ inputs.ref }}
24
+
25
+ - uses: astral-sh/setup-uv@v7
26
+
27
+ - run: uv build
28
+
29
+ - uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,33 @@
1
+ name: Release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ release:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ contents: write
11
+ actions: write
12
+ steps:
13
+ - uses: actions/checkout@v5
14
+ with:
15
+ fetch-depth: 0
16
+
17
+ - uses: python-semantic-release/python-semantic-release@v9
18
+ id: release
19
+ with:
20
+ github_token: ${{ secrets.GITHUB_TOKEN }}
21
+
22
+ # Publishing runs in a separate workflow so a failed upload can be
23
+ # retried against the tag without re-running semantic-release (which
24
+ # would refuse, the tag already existing).
25
+ - if: steps.release.outputs.released == 'true'
26
+ run: gh workflow run publish.yml --ref main -f ref=${{ steps.release.outputs.tag }}
27
+ env:
28
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
+
30
+ - if: steps.release.outputs.released == 'true'
31
+ run: gh workflow run docs.yml --ref main
32
+ env:
33
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,20 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ .venv/
5
+
6
+ # dbt
7
+ target/
8
+ dbt_packages/
9
+ logs/
10
+
11
+ # DuckLake
12
+ *.ducklake
13
+ *.ducklake.files/
14
+ *.ducklake.wal
15
+
16
+ # Docs
17
+ site/
18
+
19
+ # Environment
20
+ .env
@@ -0,0 +1 @@
1
+ 3.13