diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index c8bcec4c3..efc01349e 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -12,9 +12,11 @@ jobs: permissions: contents: write steps: - - uses: actions/setup-python@main - - uses: astral-sh/setup-uv@main - - uses: actions/checkout@main + - uses: actions/setup-python@v5 + with: + python-version: "3.x" + - uses: astral-sh/setup-uv@v4 + - uses: actions/checkout@v4 - run: uv run generate.py # generates "index.html" - run: mkdir -p build && cp index.html style.css build - name: Deploy 🚀 @@ -29,3 +31,7 @@ jobs: curl -Lo index.html-public https://github.com/m-aciek/pydocs-translation-dashboard/raw/refs/heads/gh-pages/index.html diff --color=always -u index.html-public index.html || : cat index.html + - uses: actions/upload-artifact@v4 + with: + name: build + path: build