Skip to content

Commit 7a05a68

Browse files
committed
Update for Deploy
1 parent e0e63d6 commit 7a05a68

File tree

5 files changed

+19
-21
lines changed

5 files changed

+19
-21
lines changed

.github/workflows/pages.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
name: "Pages"
22

3-
# TODO: Enable on push once pages are configured...
43
on:
5-
#push:
6-
# branches:
7-
# - "master"
8-
# paths:
9-
# - "docs/**"
10-
# - ".vitepress/**"
11-
# - "package.json"
12-
# - ".github/workflows/pages.yaml"
4+
push:
5+
branches:
6+
- "master"
7+
paths:
8+
- "docs/**"
9+
- ".vitepress/**"
10+
- "package.json"
11+
- ".github/workflows/pages.yaml"
1312
workflow_dispatch:
1413

1514
permissions:

.vitepress/config.mts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ export default defineConfig({
5959
items: [
6060
{ text: 'GitHub Organization', link: 'https://github.com/django-files' },
6161
{ text: 'Server Source Code', link: 'https://github.com/django-files/django-files' },
62-
{ text: 'Docs Source Code', link: 'https://github.com/django-files/docs' },
63-
{ text: 'Our Team', link: '/team' },
62+
{ text: 'Docs Source Code', link: 'https://github.com/django-files/django-files.github.io' },
6463
],
6564
},
6665
],
@@ -130,7 +129,7 @@ export default defineConfig({
130129
],
131130

132131
editLink: {
133-
pattern: 'https://github.com/django-files/docs/blob/master/docs/:path',
132+
pattern: 'https://github.com/django-files/django-files.github.io/blob/master/docs/:path',
134133
text: 'View on GitHub',
135134
},
136135

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
[![Pages](https://img.shields.io/github/actions/workflow/status/django-files/docs/pages.yaml?logo=github&label=pages)](https://github.com/django-files/docs/actions/workflows/pages.yaml)
2-
[![Lint](https://img.shields.io/github/actions/workflow/status/django-files/docs/lint.yaml?logo=github&label=lint)](https://github.com/django-files/docs/actions/workflows/lint.yaml)
3-
[![GitHub Last Commit](https://img.shields.io/github/last-commit/django-files/docs?logo=vitepress&logoColor=white&label=updated)](https://github.com/django-files/docs/pulse)
4-
[![GitHub Repo Size](https://img.shields.io/github/repo-size/django-files/docs?logo=bookstack&logoColor=white&label=repo%20size)](https://github.com/django-files/docs)
1+
[![Pages](https://img.shields.io/github/actions/workflow/status/django-files/django-files.github.io/pages.yaml?logo=github&label=pages)](https://github.com/django-files/django-files.github.io/actions/workflows/pages.yaml)
2+
[![Lint](https://img.shields.io/github/actions/workflow/status/django-files/django-files.github.io/lint.yaml?logo=github&label=lint)](https://github.com/django-files/django-files.github.io/actions/workflows/lint.yaml)
3+
[![GitHub Last Commit](https://img.shields.io/github/last-commit/django-files/django-files.github.io?logo=vitepress&logoColor=white&label=updated)](https://github.com/django-files/django-files.github.io/pulse)
4+
[![GitHub Repo Size](https://img.shields.io/github/repo-size/django-files/django-files.github.io?logo=bookstack&logoColor=white&label=repo%20size)](https://github.com/django-files/django-files.github.io)
55
[![GitHub Discussions](https://img.shields.io/github/discussions/django-files/django-files?logo=github)](https://github.com/django-files/django-files/discussions)
66
[![GitHub Repo Stars](https://img.shields.io/github/stars/django-files/django-files?style=flat&logo=github)](https://github.com/django-files/django-files/stargazers)
77
[![GitHub Org Stars](https://img.shields.io/github/stars/django-files?style=flat&logo=github&label=org%20stars)](https://github.com/django-files)

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"prettier": "npx prettier --check ."
77
},
88
"dependencies": {
9-
"@cssnr/vitepress-swiper": "^0.0.4",
9+
"@cssnr/vitepress-swiper": "^0.0.5",
1010
"vitepress": "^1.6.4"
1111
},
1212
"devDependencies": {

0 commit comments

Comments
 (0)