diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..0e7dfa0
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,4 @@
+# Fine-tune GitHub's language detection
+docs/**/*.md linguist-detectable=true
+docs/**/*.md linguist-documentation=false
+.vitepress/config.mts linguist-vendored
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index f1af2b4..237d7ba 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -3,11 +3,11 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
- interval: "weekly"
+ interval: "monthly"
#open-pull-requests-limit: 1
- package-ecosystem: "npm"
directory: "/"
schedule:
- interval: "weekly"
+ interval: "monthly"
#open-pull-requests-limit: 1
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index 65e32d0..cc068d9 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -14,19 +14,25 @@ concurrency:
jobs:
lint:
name: "Lint"
- if: ${{ !contains(github.event.head_commit.message, '#nolint') }}
runs-on: ubuntu-latest
timeout-minutes: 5
+ if: ${{ !contains(github.event.head_commit.message, '#nolint') }}
steps:
- name: "Checkout"
uses: actions/checkout@v6
+ - name: "Debug event.json"
+ continue-on-error: true
+ run: cat "${GITHUB_EVENT_PATH}"
- name: "Debug CTX github"
continue-on-error: true
env:
GITHUB_CTX: ${{ toJSON(github) }}
run: echo "$GITHUB_CTX"
+ - name: "Debug Environment"
+ continue-on-error: true
+ run: env
- name: "Setup Node 24"
uses: actions/setup-node@v6
@@ -42,12 +48,12 @@ jobs:
run: |
npm run build
- #- name: "ESLint"
+ #- name: "esLint"
# if: ${{ !cancelled() }}
# run: |
# npm run lint
- - name: "Prettier Check"
+ - name: "prettier"
if: ${{ !cancelled() }}
run: |
npm run prettier:check
@@ -65,3 +71,5 @@ jobs:
- name: "actionlint"
if: ${{ !cancelled() }}
uses: cssnr/actionlint-action@v1
+ with:
+ shellcheck_opts: -e SC2129
diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml
index 2a24de1..b562059 100644
--- a/.github/workflows/pages.yaml
+++ b/.github/workflows/pages.yaml
@@ -3,7 +3,7 @@ name: "Pages"
on:
workflow_dispatch:
push:
- branches: [master]
+ branches: ["master"]
paths:
- ".github/workflows/pages.yaml"
- ".vitepress/**"
@@ -15,14 +15,13 @@ env:
purge-domain: ""
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
+ group: pages
cancel-in-progress: true
jobs:
build:
name: "Build"
- if: ${{ !contains(github.event.head_commit.message, '#nodeploy') || github.actor != 'dependabot[bot]' }}
-
+ if: ${{ !contains(github.event.head_commit.message, '#nodeploy') }}
uses: cssnr/workflows/.github/workflows/npm-build.yaml@master
permissions:
contents: read
@@ -80,7 +79,7 @@ jobs:
crawler_user_id: ${{ secrets.CRAWLER_USER_ID }}
crawler_api_key: ${{ secrets.CRAWLER_API_KEY }}
- - name: "Send Discord Notification"
+ - name: "Send Post-Deploy Notification"
if: ${{ failure() }}
uses: sarisia/actions-status-discord@eb045afee445dc055c18d3d90bd0f244fd062708 # v1.16.0
with:
diff --git a/.gitignore b/.gitignore
index 5aff2a2..9463438 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,8 @@
.idea/
*.iml
.vscode/
-**/cache/
-**/dist/
+cache/
+dist/
build/
node_modules/
-.vitepress/contributors.json
+contributors.json
diff --git a/.prettierignore b/.prettierignore
index 00f94bb..db82eec 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -1,5 +1,3 @@
-.idea/
-.vscode/
-dist/
-node_modules/
+.github/disabled
+.github/pull_request_template.md
package-lock.json
diff --git a/.prettierrc.json b/.prettierrc.json
index 4aa3945..70dc83d 100644
--- a/.prettierrc.json
+++ b/.prettierrc.json
@@ -1,17 +1,17 @@
{
- "trailingComma": "es5",
"semi": false,
"singleQuote": true,
- "printWidth": 110,
+ "printWidth": 120,
"overrides": [
{
"files": ["**/*.html", "**/*.yaml", "**/*.yml"],
"options": {
- "singleQuote": false
+ "singleQuote": false,
+ "printWidth": 120
}
},
{
- "files": ["**/*.js", "**/*.css", "**/*.scss"],
+ "files": ["**/*.js", "**/*.mjs", "**/*.css", "**/*.scss"],
"options": {
"tabWidth": 4
}
diff --git a/.vitepress/config.mts b/.vitepress/config.mts
index 2bb6d0c..abc3ce9 100644
--- a/.vitepress/config.mts
+++ b/.vitepress/config.mts
@@ -6,8 +6,7 @@ const settings = {
title: 'Docker Stack Deploy Action', // For Actual Title
name: 'Deploy to Docker from GitHub Actions', // For Meta Tag
description: {
- short:
- 'Easily Deploy a Docker Swarm or Compose Stack File to a Remote Host over SSH from the Actions Workspace.',
+ short: 'Easily Deploy a Docker Swarm or Compose Stack File to a Remote Host over SSH from the Actions Workspace.',
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.',
},
image: '/images/logo/logo512.png',
diff --git a/.vitepress/theme/components/YouTubeEmbed.vue b/.vitepress/theme/components/YouTubeEmbed.vue
index d3c3f15..250e5af 100644
--- a/.vitepress/theme/components/YouTubeEmbed.vue
+++ b/.vitepress/theme/components/YouTubeEmbed.vue
@@ -36,15 +36,7 @@ if (props.src) {
:src="srcUrl"
:title="props.title"
frameborder="0"
- allow="
- accelerometer;
- autoplay;
- clipboard-write;
- encrypted-media;
- gyroscope;
- picture-in-picture;
- web-share;
- "
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerpolicy="strict-origin-when-cross-origin"
allowfullscreen
>
diff --git a/.vitepress/theme/custom.css b/.vitepress/theme/custom.css
index 92b9739..29a2c33 100644
--- a/.vitepress/theme/custom.css
+++ b/.vitepress/theme/custom.css
@@ -2,11 +2,7 @@
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #1d63ed 30%, #b3d4f3);
- --vp-home-hero-image-background-image: linear-gradient(
- 0deg,
- rgba(29, 99, 237, 0.7),
- rgba(29, 99, 237, 0.7)
- );
+ --vp-home-hero-image-background-image: linear-gradient(0deg, rgba(29, 99, 237, 0.7), rgba(29, 99, 237, 0.7));
--vp-home-hero-image-filter: blur(64px);
--vp-sidebar-width: 210px; /* Custom Sidebar Width */
diff --git a/README.md b/README.md
index 171fb97..50ded40 100644
--- a/README.md
+++ b/README.md
@@ -1,20 +1,24 @@
-[](https://github.com/cssnr/stack-deploy-docs/deployments)
-[](https://github.com/cssnr/stack-deploy-docs/actions/workflows/pages.yaml)
-[](https://github.com/cssnr/stack-deploy-docs/actions/workflows/lint.yaml)
+[](https://github.com/cssnr/stack-deploy-docs/deployments/github-pages)
+[](https://github.com/cssnr/stack-deploy-docs/deployments/dev)
+[](https://github.com/cssnr/stack-deploy-docs/actions/workflows/pages.yaml)
+[](https://github.com/cssnr/stack-deploy-docs/actions/workflows/lint.yaml)
[](https://github.com/cssnr/stack-deploy-docs/pulse)
-[](https://github.com/cssnr/stack-deploy-docs?tab=readme-ov-file#readme)
+[](https://github.com/cssnr/stack-deploy-docs?tab=readme-ov-file#readme)
[](https://github.com/cssnr/stack-deploy-docs?tab=readme-ov-file#readme)
[](https://github.com/cssnr/stack-deploy-docs/graphs/contributors)
-[](https://github.com/cssnr/stack-deploy-docs/issues)
-[](https://github.com/cssnr/stack-deploy-docs/discussions)
-[](https://github.com/cssnr/stack-deploy-docs/forks)
-[](https://github.com/cssnr/stack-deploy-docs/stargazers)
+[](https://github.com/cssnr/stack-deploy-action/issues)
+[](https://github.com/cssnr/stack-deploy-action/discussions)
+[](https://github.com/cssnr/stack-deploy-action/forks)
+[](https://github.com/cssnr/stack-deploy-action/stargazers)
[](https://cssnr.github.io/)
[](https://discord.gg/wXy6m2X8wY)
[](https://ko-fi.com/cssnr)
# Docker Stack Deploy Action Docs
+
+
+
Documentation for the [Docker Stack Deploy Action](https://github.com/cssnr/stack-deploy-action).
- https://docker-deploy.cssnr.com/
@@ -58,3 +62,11 @@ and [additional](https://cssnr.com/) open source projects.
[](https://ko-fi.com/cssnr)
For a full list of current projects visit: [https://cssnr.github.io/](https://cssnr.github.io/)
+
+
+
+