Skip to content

Commit 95369af

Browse files
chore(deps): bump pillow from 11.1.0 to 11.3.0 (#20)
* chore(deps): bump pillow from 11.1.0 to 11.3.0 Bumps [pillow](https://github.com/python-pillow/Pillow) from 11.1.0 to 11.3.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@11.1.0...11.3.0) --- updated-dependencies: - dependency-name: pillow dependency-version: 11.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * chore: update preview.yaml * chore: update preview.yaml * chore: update preview.yaml * chore: update preview.yaml --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikita Gaziev <zobweyt@gmail.com>
1 parent a4c1ae1 commit 95369af

2 files changed

Lines changed: 117 additions & 86 deletions

File tree

.github/workflows/preview.yaml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77
- dev
88
paths:
9-
- .github/workflows/docs.yaml
9+
- .github/workflows/preview.yaml
1010
- docs/**
1111
- src/**
1212
- CHANGELOG.md
@@ -27,17 +27,6 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- uses: actions/checkout@v4
30-
with:
31-
ref: gh-pages
32-
fetch-depth: 1
33-
# Note: it is import that we **do not** clone the pr-preview directory here since
34-
# we don't need to include this sub-directory when releasing or previewing docs. This
35-
# speeds up the checkout time significantly, and stops the pr-preview directory from
36-
# bloating up (otherwise we'll keep a recursive copy).
37-
sparse-checkout-cone-mode: false
38-
sparse-checkout: |
39-
/*
40-
!/pr-preview/
4130

4231
- name: Setup just
4332
uses: extractions/setup-just@v3
@@ -49,6 +38,13 @@ jobs:
4938
with:
5039
version: 0.6.4
5140

41+
- name: Replace site_url for PR preview
42+
run: |
43+
PR_NUMBER=${{ github.event.pull_request.number }}
44+
NEW_URL="https://zobweyt.github.io/textcase/pr-preview/pr-${PR_NUMBER}/"
45+
sed -i "s|site_url: .*|site_url: $NEW_URL|" mkdocs.yaml
46+
echo "Updated site_url to: $NEW_URL"
47+
5248
- name: Build docs
5349
run: just docs-build
5450

0 commit comments

Comments
 (0)