mirror of
https://github.com/j178/prek.git
synced 2026-04-25 02:11:36 +02:00
c3b9f115da
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/upload-pages-artifact](https://redirect.github.com/actions/upload-pages-artifact) | action | major | `v4` → `v5.0.0` | | [julia-actions/setup-julia](https://redirect.github.com/julia-actions/setup-julia) | action | major | `v2.7.0` → `v3.0.0` | --- ### Release Notes <details> <summary>actions/upload-pages-artifact (actions/upload-pages-artifact)</summary> ### [`v5.0.0`](https://redirect.github.com/actions/upload-pages-artifact/releases/tag/v5.0.0) [Compare Source](https://redirect.github.com/actions/upload-pages-artifact/compare/v4.0.0...v5.0.0) ### Changelog - Update upload-artifact action to version 7 [@​Tom-van-Woudenberg](https://redirect.github.com/Tom-van-Woudenberg) ([#​139](https://redirect.github.com/actions/upload-pages-artifact/issues/139)) - feat: add `include-hidden-files` input [@​jonchurch](https://redirect.github.com/jonchurch) ([#​137](https://redirect.github.com/actions/upload-pages-artifact/issues/137)) See details of [all code changes](https://redirect.github.com/actions/upload-pages-artifact/compare/v4.0.0...v4.0.1) since previous release. </details> <details> <summary>julia-actions/setup-julia (julia-actions/setup-julia)</summary> ### [`v3.0.0`](https://redirect.github.com/julia-actions/setup-julia/releases/tag/v3.0.0) [Compare Source](https://redirect.github.com/julia-actions/setup-julia/compare/v2.7.0...v3.0.0) #### ⚠️ Breaking Changes, and Migration Guide for v2 ⟶ v3 1. v3 requires Node 24 (compared to v2, which required Node 20). 2. The behavior of `version: min` has changed between v2 and v3. - In v2, `version: min` would resolve to the minimum major/minor/patch, e.g. 1.10.0. - In v3, `version: min` resolves to the minimum major/minor but the latest patch, e.g. 1.10.11. - If you specifically want the minimum major/minor/patch under v3, you should specify `version: min-patch`. Note: v3 also adds the alias `version: min-minor`, which is equivalent to `version: min`. 3. v3 will throw an error if `x86_64` Julia binaries are requested on Apple Silicon macOS. (Under v2, this was a warning.) Under v3, if you specifically want to run `x86_64` Julia binaries on Apple Silicon (under Rosetta 2), you must now opt-in by specifying the `force-arch: true` input. #### Other Changes We updated some dependencies, and we improved and updated the CI tooling on this repo. #### Full Changelog **Full Changelog**: <https://github.com/julia-actions/setup-julia/compare/v2.7.0...v3.0.0> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM, only on Monday (`* 0-3 * * 1`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/j178/prek). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xMjMuOCIsInVwZGF0ZWRJblZlciI6IjQzLjEyMy44IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImludGVybmFsIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
name: Deploy Documentation
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
ref:
|
|
description: "The commit SHA, tag, or branch to publish. Uses the default branch if not specified."
|
|
default: ""
|
|
type: string
|
|
workflow_call:
|
|
inputs:
|
|
plan:
|
|
required: true
|
|
type: string
|
|
|
|
concurrency:
|
|
group: "pages"
|
|
cancel-in-progress: false
|
|
|
|
permissions: {}
|
|
|
|
env:
|
|
UV_VERSION: "0.11.6"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
|
|
- uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
|
|
with:
|
|
version: ${{ env.UV_VERSION }}
|
|
|
|
- name: Build documentation
|
|
run: |
|
|
uv run --group docs zensical build
|
|
uv run --group docs llmstxt-standalone build
|
|
|
|
- name: Upload artifact
|
|
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
|
|
with:
|
|
path: ./site
|
|
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
runs-on: ubuntu-latest
|
|
needs: build
|
|
if: github.ref == 'refs/heads/master'
|
|
steps:
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
|