Skip to content

Commit 6a856f0

Browse files
committed
Updates
1 parent 12f7f63 commit 6a856f0

File tree

15 files changed

+354
-335
lines changed

15 files changed

+354
-335
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Fine-tune GitHub's language detection
2+
docs/**/*.md linguist-detectable=true
3+
docs/**/*.md linguist-documentation=false
4+
.vitepress/config.mts linguist-vendored

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ updates:
33
- package-ecosystem: "github-actions"
44
directory: "/"
55
schedule:
6-
interval: "weekly"
6+
interval: "monthly"
77
#open-pull-requests-limit: 1
88

99
- package-ecosystem: "npm"
1010
directory: "/"
1111
schedule:
12-
interval: "weekly"
12+
interval: "monthly"
1313
#open-pull-requests-limit: 1

.github/workflows/lint.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,25 @@ concurrency:
1414
jobs:
1515
lint:
1616
name: "Lint"
17-
if: ${{ !contains(github.event.head_commit.message, '#nolint') }}
1817
runs-on: ubuntu-latest
1918
timeout-minutes: 5
19+
if: ${{ !contains(github.event.head_commit.message, '#nolint') }}
2020

2121
steps:
2222
- name: "Checkout"
2323
uses: actions/checkout@v6
2424

25+
- name: "Debug event.json"
26+
continue-on-error: true
27+
run: cat "${GITHUB_EVENT_PATH}"
2528
- name: "Debug CTX github"
2629
continue-on-error: true
2730
env:
2831
GITHUB_CTX: ${{ toJSON(github) }}
2932
run: echo "$GITHUB_CTX"
33+
- name: "Debug Environment"
34+
continue-on-error: true
35+
run: env
3036

3137
- name: "Setup Node 24"
3238
uses: actions/setup-node@v6
@@ -42,12 +48,12 @@ jobs:
4248
run: |
4349
npm run build
4450
45-
#- name: "ESLint"
51+
#- name: "esLint"
4652
# if: ${{ !cancelled() }}
4753
# run: |
4854
# npm run lint
4955

50-
- name: "Prettier Check"
56+
- name: "prettier"
5157
if: ${{ !cancelled() }}
5258
run: |
5359
npm run prettier:check
@@ -65,3 +71,5 @@ jobs:
6571
- name: "actionlint"
6672
if: ${{ !cancelled() }}
6773
uses: cssnr/actionlint-action@v1
74+
with:
75+
shellcheck_opts: -e SC2129

.github/workflows/pages.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "Pages"
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [master]
6+
branches: ["master"]
77
paths:
88
- ".github/workflows/pages.yaml"
99
- ".vitepress/**"
@@ -15,14 +15,13 @@ env:
1515
purge-domain: ""
1616

1717
concurrency:
18-
group: ${{ github.workflow }}-${{ github.ref }}
18+
group: pages
1919
cancel-in-progress: true
2020

2121
jobs:
2222
build:
2323
name: "Build"
24-
if: ${{ !contains(github.event.head_commit.message, '#nodeploy') || github.actor != 'dependabot[bot]' }}
25-
24+
if: ${{ !contains(github.event.head_commit.message, '#nodeploy') }}
2625
uses: cssnr/workflows/.github/workflows/npm-build.yaml@master
2726
permissions:
2827
contents: read
@@ -80,7 +79,7 @@ jobs:
8079
crawler_user_id: ${{ secrets.CRAWLER_USER_ID }}
8180
crawler_api_key: ${{ secrets.CRAWLER_API_KEY }}
8281

83-
- name: "Send Discord Notification"
82+
- name: "Send Post-Deploy Notification"
8483
if: ${{ failure() }}
8584
uses: sarisia/actions-status-discord@eb045afee445dc055c18d3d90bd0f244fd062708 # v1.16.0
8685
with:

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.idea/
22
*.iml
33
.vscode/
4-
**/cache/
5-
**/dist/
4+
cache/
5+
dist/
66
build/
77
node_modules/
8-
.vitepress/contributors.json
8+
contributors.json

.prettierignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.idea/
2-
.vscode/
3-
dist/
4-
node_modules/
1+
.github/disabled
2+
.github/pull_request_template.md
53
package-lock.json

.prettierrc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"trailingComma": "es5",
32
"semi": false,
43
"singleQuote": true,
5-
"printWidth": 110,
4+
"printWidth": 120,
65
"overrides": [
76
{
87
"files": ["**/*.html", "**/*.yaml", "**/*.yml"],
98
"options": {
10-
"singleQuote": false
9+
"singleQuote": false,
10+
"printWidth": 120
1111
}
1212
},
1313
{
14-
"files": ["**/*.js", "**/*.css", "**/*.scss"],
14+
"files": ["**/*.js", "**/*.mjs", "**/*.css", "**/*.scss"],
1515
"options": {
1616
"tabWidth": 4
1717
}

.vitepress/config.mts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ const settings = {
66
title: 'Docker Stack Deploy Action', // For Actual Title
77
name: 'Deploy to Docker from GitHub Actions', // For Meta Tag
88
description: {
9-
short:
10-
'Easily Deploy a Docker Swarm or Compose Stack File to a Remote Host over SSH from the Actions Workspace.',
9+
short: 'Easily Deploy a Docker Swarm or Compose Stack File to a Remote Host over SSH from the Actions Workspace.',
1110
long: 'Easily Deploy a Docker Swarm or Compose Stack File to a Remote Docker host over SSH with Keyfile or Password Authentication from the Actions Workspace.',
1211
},
1312
image: '/images/logo/logo512.png',

.vitepress/theme/components/YouTubeEmbed.vue

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,7 @@ if (props.src) {
3636
:src="srcUrl"
3737
:title="props.title"
3838
frameborder="0"
39-
allow="
40-
accelerometer;
41-
autoplay;
42-
clipboard-write;
43-
encrypted-media;
44-
gyroscope;
45-
picture-in-picture;
46-
web-share;
47-
"
39+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
4840
referrerpolicy="strict-origin-when-cross-origin"
4941
allowfullscreen
5042
></iframe>

.vitepress/theme/custom.css

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
--vp-home-hero-name-color: transparent;
33
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #1d63ed 30%, #b3d4f3);
44

5-
--vp-home-hero-image-background-image: linear-gradient(
6-
0deg,
7-
rgba(29, 99, 237, 0.7),
8-
rgba(29, 99, 237, 0.7)
9-
);
5+
--vp-home-hero-image-background-image: linear-gradient(0deg, rgba(29, 99, 237, 0.7), rgba(29, 99, 237, 0.7));
106
--vp-home-hero-image-filter: blur(64px);
117

128
--vp-sidebar-width: 210px; /* Custom Sidebar Width */

0 commit comments

Comments
 (0)