We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 449ff5d commit aa06b55Copy full SHA for aa06b55
1 file changed
.github/workflows/deploy.yml
@@ -20,6 +20,22 @@ jobs:
20
steps:
21
- name: Checkout your repository using git
22
uses: actions/checkout@v6
23
+ - name: "Set up Python"
24
+ uses: actions/setup-python@v6
25
+ with:
26
+ python-version-file: ".python-version"
27
+
28
+ - name: Install uv
29
+ uses: astral-sh/setup-uv@v7
30
31
+ enable-cache: true
32
33
+ - name: minify and move python scripts
34
+ run: |
35
+ mkdir -p public
36
+ cp -R srcpy/*.py public/
37
+ uv run --frozen --no-dev pyminify public/ --in-place --remove-literal-statements
38
39
- name: Install, build, and upload your site
40
uses: withastro/action@v5
41
with:
0 commit comments