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 @@ -[![Deployment Pages](https://img.shields.io/github/deployments/cssnr/stack-deploy-docs/github-pages?logo=vitepress&logoColor=white&label=deploy)](https://github.com/cssnr/stack-deploy-docs/deployments) -[![Workflow Pages](https://img.shields.io/github/actions/workflow/status/cssnr/stack-deploy-docs/pages.yaml?logo=testcafe&logoColor=white&label=pages)](https://github.com/cssnr/stack-deploy-docs/actions/workflows/pages.yaml) -[![Workflow Lint](https://img.shields.io/github/actions/workflow/status/cssnr/stack-deploy-docs/lint.yaml?logo=testcafe&logoColor=white&label=lint)](https://github.com/cssnr/stack-deploy-docs/actions/workflows/lint.yaml) +[![Deployments Pages](https://img.shields.io/github/deployments/cssnr/stack-deploy-docs/github-pages?logo=vitepress&logoColor=white&label=pages)](https://github.com/cssnr/stack-deploy-docs/deployments/github-pages) +[![Deployments Dev](https://img.shields.io/github/deployments/cssnr/stack-deploy-docs/dev?logo=labex&logoColor=white&label=dev)](https://github.com/cssnr/stack-deploy-docs/deployments/dev) +[![Workflow Pages](https://img.shields.io/github/actions/workflow/status/cssnr/stack-deploy-docs/pages.yaml?logo=norton&logoColor=white&label=pages)](https://github.com/cssnr/stack-deploy-docs/actions/workflows/pages.yaml) +[![Workflow Lint](https://img.shields.io/github/actions/workflow/status/cssnr/stack-deploy-docs/lint.yaml?logo=norton&logoColor=white&label=lint)](https://github.com/cssnr/stack-deploy-docs/actions/workflows/lint.yaml) [![GitHub Last Commit](https://img.shields.io/github/last-commit/cssnr/stack-deploy-docs?logo=listenhub&label=updated)](https://github.com/cssnr/stack-deploy-docs/pulse) -[![GitHub Repo Size](https://img.shields.io/github/repo-size/cssnr/stack-deploy-docs?logo=buffer&label=repo%20size)](https://github.com/cssnr/stack-deploy-docs?tab=readme-ov-file#readme) +[![GitHub Repo Size](https://img.shields.io/github/repo-size/cssnr/stack-deploy-docs?logo=googlecloudstorage&logoColor=white&label=repo%20size)](https://github.com/cssnr/stack-deploy-docs?tab=readme-ov-file#readme) [![GitHub Top Language](https://img.shields.io/github/languages/top/cssnr/stack-deploy-docs?logo=devbox)](https://github.com/cssnr/stack-deploy-docs?tab=readme-ov-file#readme) [![GitHub Contributors](https://img.shields.io/github/contributors-anon/cssnr/stack-deploy-docs?logo=southwestairlines)](https://github.com/cssnr/stack-deploy-docs/graphs/contributors) -[![GitHub Issues](https://img.shields.io/github/issues/cssnr/stack-deploy-docs?logo=codeforces&logoColor=white)](https://github.com/cssnr/stack-deploy-docs/issues) -[![GitHub Discussions](https://img.shields.io/github/discussions/cssnr/stack-deploy-docs?logo=theconversation)](https://github.com/cssnr/stack-deploy-docs/discussions) -[![GitHub Forks](https://img.shields.io/github/forks/cssnr/stack-deploy-docs?style=flat&logo=forgejo&logoColor=white)](https://github.com/cssnr/stack-deploy-docs/forks) -[![GitHub Repo Stars](https://img.shields.io/github/stars/cssnr/stack-deploy-docs?style=flat&logo=gleam&logoColor=white)](https://github.com/cssnr/stack-deploy-docs/stargazers) +[![GitHub Issues](https://img.shields.io/github/issues/cssnr/stack-deploy-action?logo=codeforces&logoColor=white)](https://github.com/cssnr/stack-deploy-action/issues) +[![GitHub Discussions](https://img.shields.io/github/discussions/cssnr/stack-deploy-action?logo=theconversation)](https://github.com/cssnr/stack-deploy-action/discussions) +[![GitHub Forks](https://img.shields.io/github/forks/cssnr/stack-deploy-action?style=flat&logo=forgejo&logoColor=white)](https://github.com/cssnr/stack-deploy-action/forks) +[![GitHub Repo Stars](https://img.shields.io/github/stars/cssnr/stack-deploy-action?style=flat&logo=gleam&logoColor=white)](https://github.com/cssnr/stack-deploy-action/stargazers) [![GitHub Org Stars](https://img.shields.io/github/stars/cssnr?style=flat&logo=apachespark&logoColor=white&label=org%20stars)](https://cssnr.github.io/) [![Discord](https://img.shields.io/discord/899171661457293343?logo=discord&logoColor=white&label=discord&color=7289da)](https://discord.gg/wXy6m2X8wY) [![Ko-fi](https://img.shields.io/badge/Ko--fi-72a5f2?logo=kofi&label=support)](https://ko-fi.com/cssnr) # Docker Stack Deploy Action Docs + +Docker Stack Deploy + 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. [![Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/cssnr) For a full list of current projects visit: [https://cssnr.github.io/](https://cssnr.github.io/) + + + + + + Star History Chart + + diff --git a/docs/index.md b/docs/index.md index 052e7cb..e2d6ab0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -64,6 +64,16 @@ features: +
+ + + + + Star History Chart + + +
+