Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 11 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -65,3 +71,5 @@ jobs:
- name: "actionlint"
if: ${{ !cancelled() }}
uses: cssnr/actionlint-action@v1
with:
shellcheck_opts: -e SC2129
9 changes: 4 additions & 5 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "Pages"
on:
workflow_dispatch:
push:
branches: [master]
branches: ["master"]
paths:
- ".github/workflows/pages.yaml"
- ".vitepress/**"
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.idea/
*.iml
.vscode/
**/cache/
**/dist/
cache/
dist/
build/
node_modules/
.vitepress/contributors.json
contributors.json
6 changes: 2 additions & 4 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
.idea/
.vscode/
dist/
node_modules/
.github/disabled
.github/pull_request_template.md
package-lock.json
8 changes: 4 additions & 4 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -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
}
Expand Down
3 changes: 1 addition & 2 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
10 changes: 1 addition & 9 deletions .vitepress/theme/components/YouTubeEmbed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
></iframe>
Expand Down
6 changes: 1 addition & 5 deletions .vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
28 changes: 20 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

<a title="Docker Stack Deploy" href="https://docker-deploy.cssnr.com/" target="_blank">
<img alt="Docker Stack Deploy" align="right" width="128" height="auto" src="https://raw.githubusercontent.com/cssnr/stack-deploy-docs/refs/heads/master/docs/public/images/logo/logo512.png"></a>

Documentation for the [Docker Stack Deploy Action](https://github.com/cssnr/stack-deploy-action).

- https://docker-deploy.cssnr.com/
Expand Down Expand Up @@ -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/)

<a href="https://github.com/cssnr/stack-deploy-action/stargazers">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=cssnr/stack-deploy-action&type=date&legend=bottom-right&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=cssnr/stack-deploy-action&type=date&legend=bottom-right" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=cssnr/stack-deploy-action&type=date&legend=bottom-right" />
</picture>
</a>
10 changes: 10 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ features:

<Contributors :contributors="$contributors" heading="Contributors" margin="36px 0 96px" />

<div style="display: flex; justify-content: center;">
<a href="https://github.com/cssnr/stack-deploy-action/stargazers">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=cssnr/stack-deploy-action&type=date&legend=bottom-right&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=cssnr/stack-deploy-action&type=date&legend=bottom-right" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=cssnr/stack-deploy-action&type=date&legend=bottom-right" />
</picture>
</a>
</div>

<style>
div.badges {
margin-top: 80px;
Expand Down
16 changes: 8 additions & 8 deletions docs/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ You can chat with us about anything [on discord](https://discord.gg/wXy6m2X8wY).

[![Chat on Discord](https://img.shields.io/badge/Chat_on_Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/wXy6m2X8wY)

### General Feedback

You can submit general feedback via the [web form](https://cssnr.github.io/feedback/?app=Stack%20Deploy%20Action).

_This method is not recommended to [report issues](https://github.com/cssnr/stack-deploy-action/issues) or [request features](https://github.com/cssnr/stack-deploy-action/discussions/categories/feature-requests)._

[https://cssnr.github.io/feedback/](https://cssnr.github.io/feedback/?app=Stack%20Deploy%20Action)

&nbsp;

[![Ko-Fi](./public/images/ko-fi.png)](https://ko-fi.com/cssnr)

<a href="https://github.com/cssnr/stack-deploy-action/stargazers">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=cssnr/stack-deploy-action&type=date&legend=bottom-right&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=cssnr/stack-deploy-action&type=date&legend=bottom-right" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=cssnr/stack-deploy-action&type=date&legend=bottom-right" />
</picture>
</a>
Loading