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: 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
2 changes: 2 additions & 0 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
path: ".vitepress/dist"
secrets:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
ai_chat_api: ${{ secrets.AI_CHAT_API }}
ai_chat_auth: ${{ secrets.AI_CHAT_AUTH }}

deploy:
name: "Deploy"
Expand Down
29 changes: 24 additions & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: "Lint"

on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches: [master]
push:
branches: [master]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -22,19 +22,36 @@ jobs:
- name: "Checkout"
uses: actions/checkout@v6

- name: "Debug event.json"
if: ${{ !github.event.act }}
continue-on-error: true
run: cat "${GITHUB_EVENT_PATH}"
- name: "Debug CTX github"
if: ${{ !github.event.act }}
continue-on-error: true
env:
GITHUB_CTX: ${{ toJSON(github) }}
run: echo "$GITHUB_CTX"
- name: "Debug Environment"
if: ${{ !github.event.act }}
continue-on-error: true
run: env

- name: "Setup Node 24"
uses: actions/setup-node@v6
with:
node-version: 24

- name: "Install"
id: install
run: npm ci

- name: "Build"
if: ${{ !cancelled() }}
run: npm run build

#- name: "eslint"
# if: ${{ !cancelled() }}
# run: |
# npm run lint
# run: npm run lint

- name: "prettier"
if: ${{ !cancelled() }}
Expand All @@ -53,3 +70,5 @@ jobs:
- name: "actionlint"
if: ${{ !cancelled() }}
uses: cssnr/actionlint-action@v1
with:
shellcheck_opts: -e SC2129
4 changes: 4 additions & 0 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
build: "npm run build"
path: ".vitepress/dist"
pages: true
secrets:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
ai_chat_api: ${{ secrets.AI_CHAT_API }}
ai_chat_auth: ${{ secrets.AI_CHAT_AUTH }}

deploy:
name: "Deploy"
Expand Down
12 changes: 9 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# Generic
.idea/
*.iml
.vscode/
**/dist/
cache/
dist/
build/
node_modules/
.vitepress/cache
.vitepress/contributors.json
web-ext-artifacts/
*.tsbuildinfo
# VitePress
contributors.json
.env
.env.development
13 changes: 7 additions & 6 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
{
"trailingComma": "es5",
"$schema": "https://json.schemastore.org/prettierrc",
"semi": false,
"singleQuote": true,
"printWidth": 110,
"printWidth": 120,
"overrides": [
{
"files": ["**/*.html", "**/*.yaml", "**/*.yml"],
"files": ["**/*.vue"],
"options": {
"singleQuote": false
"printWidth": 120
}
},
{
"files": ["**/*.js", "**/*.css", "**/*.scss"],
"files": ["**/*.html", "**/*.yaml", "**/*.yml"],
"options": {
"tabWidth": 4
"singleQuote": false,
"printWidth": 120
}
}
]
Expand Down
9 changes: 9 additions & 0 deletions .vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { defineConfig } from 'vitepress'
import { groupIconMdPlugin, groupIconVitePlugin } from 'vitepress-plugin-group-icons'
import vitePressInstructions from '@cssnr/vitepress-chat/instructions-plugin'

// import llmstxt from 'vitepress-plugin-llms'

const settings = {
siteTitle: 'Portainer Deploy', // For Site Sidebar
Expand All @@ -16,16 +19,22 @@ const settings = {
actions_url: 'https://github.com/marketplace/actions/portainer-stack-deploy-action',
}

const llmExcludes = ['index.md', 'guides/examples.md', 'guides/features.md', 'guides/include/**/*']

// https://vitepress.dev/reference/site-config
// noinspection JSUnusedGlobalSymbols
export default defineConfig({
srcDir: './docs',
// base: '/path/',
vite: {
envDir: '..',
server: {
allowedHosts: true,
},
plugins: [
// llmstxt(),
vitePressInstructions({ exclude: llmExcludes }),

groupIconVitePlugin({
customIcon: {
git: 'vscode-icons:file-type-git',
Expand Down
36 changes: 20 additions & 16 deletions .vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -1,40 +1,44 @@
:root {
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #ff80f2, 30%, #c080ff);
--vp-home-hero-image-background-image: linear-gradient(0deg, #c080ff, #c080ff);
--vp-home-hero-image-filter: blur(72px);
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #ff80f2, 30%, #c080ff);
--vp-home-hero-image-background-image: linear-gradient(0deg, #c080ff, #c080ff);
--vp-home-hero-image-filter: blur(72px);

--vp-sidebar-width: 230px; /* Custom Sidebar Width */
--vp-button-alt-bg: var(--vp-c-default-1);
--vp-sidebar-width: 230px; /* Custom Sidebar Width */
--vp-button-alt-bg: var(--vp-c-default-1);
}

body {
overflow-y: scroll;
overflow-y: scroll;
}

summary {
cursor: pointer;
cursor: pointer;
}

table th {
text-wrap: nowrap;
text-wrap: nowrap;
}

.search-keywords {
display: none;
display: none;
}

/* NOTE: This is a "fix" for the search modal content shift */
@supports (scrollbar-gutter: stable) {
@media (min-width: 769px) {
html {
scrollbar-gutter: stable;
}
/* Note: local search is: 768px */
@media (min-width: 769px) {
html {
scrollbar-gutter: stable;
}
html:has(:fullscreen) {
scrollbar-gutter: auto;
}
}
}

.vp-doc p > img,
.vp-doc p > a > img {
display: inline-block;
margin-right: 8px;
display: inline-block;
margin-right: 8px;
}
26 changes: 17 additions & 9 deletions .vitepress/theme/index.js → .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import './custom.css'
import StackTable from './components/StackTable.vue'
import LatestVersion from './components/LatestVersion.vue'

import VitePressChat from '@cssnr/vitepress-chat'
import '@cssnr/vitepress-chat/style.css'

import CopyButton from '@cssnr/vitepress-plugin-copybutton'
import '@cssnr/vitepress-plugin-copybutton/style.css'

Expand All @@ -17,15 +20,20 @@ import contributors from '../contributors.json'
// noinspection JSUnusedGlobalSymbols
/** @type {import('vitepress').Theme} */
export default {
...DefaultTheme,
...DefaultTheme,

...VitePressChat(DefaultTheme, {
api: import.meta.env.VITE_AI_API,
headers: import.meta.env.VITE_AI_AUTH ? { Authorization: import.meta.env.VITE_AI_AUTH } : undefined,
}),

enhanceApp({ app }) {
app.component('Badge', VPBadge)
app.component('StackTable', StackTable)
app.component('LatestVersion', LatestVersion)
enhanceApp({ app }) {
app.component('Badge', VPBadge)
app.component('StackTable', StackTable)
app.component('LatestVersion', LatestVersion)

app.component('CB', CopyButton)
app.component('Contributors', Contributors)
app.config.globalProperties.$contributors = contributors
},
app.component('CB', CopyButton)
app.component('Contributors', Contributors)
app.config.globalProperties.$contributors = contributors
},
}
54 changes: 27 additions & 27 deletions .vitepress/vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,31 @@
* @type {string[]} user/repo
*/
export const repos = [
'cssnr/portainer-stack-deploy-action',
'carlrygart/portainer-stack-deploy',
'kgierke/portainer-stack-deployment',
'nvti/portainer-stack-deploy',
'LGinC/portainer-stack-deploy',
'BramKelchtermans/portainer-deploy-action',
'newarifrh/portainer-service-webhook',
'wirgen/portainer-stack-redeploy-action',
'bots-house/portainer-deploy-stack-action',
'luminos-company/portami',
'Hugollemos/deploy',
'rrennoir/portainer-stack',
'sdjnmxd/portainer-stack-deploy',
'Filaind/portainer-stack-deploy',
'robin-moser/portainer-stack-deploy',
'spawnlab-dev/stack-deploy-action',
'nevcodia/portainer-stack-deployment',
// 'scod-br/portainer-stack-deploy',
'dann41/portainer-stack-deploy',
'AlexPshkov/portainer-stack-deploy',
// 'ManicMade/portainer-git-stack-redeploy-action',
// 'fe5dds9/portainer-deploy-action',
'SimonPrinz/portainer-deploy-action',
'KevinLamSeck/gh-action-portainer-stack-deploy',
'inova-notas/portainer-stack-deploy',
'Morgul/portainer-stack-deploy',
'mantichor/portainer-action',
'cssnr/portainer-stack-deploy-action',
'carlrygart/portainer-stack-deploy',
'kgierke/portainer-stack-deployment',
'nvti/portainer-stack-deploy',
'LGinC/portainer-stack-deploy',
'BramKelchtermans/portainer-deploy-action',
'newarifrh/portainer-service-webhook',
'wirgen/portainer-stack-redeploy-action',
'bots-house/portainer-deploy-stack-action',
'luminos-company/portami',
'Hugollemos/deploy',
'rrennoir/portainer-stack',
'sdjnmxd/portainer-stack-deploy',
'Filaind/portainer-stack-deploy',
'robin-moser/portainer-stack-deploy',
'spawnlab-dev/stack-deploy-action',
'nevcodia/portainer-stack-deployment',
// 'scod-br/portainer-stack-deploy',
'dann41/portainer-stack-deploy',
'AlexPshkov/portainer-stack-deploy',
// 'ManicMade/portainer-git-stack-redeploy-action',
// 'fe5dds9/portainer-deploy-action',
'SimonPrinz/portainer-deploy-action',
'KevinLamSeck/gh-action-portainer-stack-deploy',
'inova-notas/portainer-stack-deploy',
'Morgul/portainer-stack-deploy',
'mantichor/portainer-action',
]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ These [docs](docs) are **written in plain text** using Markdown and built with [
| [.vitepress](.vitepress) | VitePress Configuration Root |
| [.vitepress/config.mts](.vitepress/config.mts) | VitePress Configuration File |
| [.vitepress/theme](.vitepress/theme) | VitePress Custom Theme Root |
| [.vitepress/theme/index.js](.vitepress/theme/index.js) | VitePress Custom Theme File |
| [.vitepress/theme/index.ts](.vitepress/theme/index.ts) | VitePress Custom Theme File |
| [.vitepress/theme/custom.css](.vitepress/theme/custom.css) | VitePress Global CSS File |
| [.vitepress/theme/components](.vitepress/theme/components) | VitePress Components Root |
| [@components/StackTable.vue](.vitepress/theme/components/StackTable.vue) | StackTable Component |
Expand Down
15 changes: 7 additions & 8 deletions docs/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ next:

# Support

[![Features](https://img.shields.io/badge/features-brightgreen?style=for-the-badge&logo=rocket&logoColor=white)](https://github.com/cssnr/portainer-stack-deploy-action/issues/new?template=1-feature.yaml)
[![Issues](https://img.shields.io/badge/issues-red?style=for-the-badge&logo=southwestairlines&logoColor=white)](https://github.com/cssnr/portainer-stack-deploy-action/issues)
[![Discussions](https://img.shields.io/badge/discussions-blue?style=for-the-badge&logo=theconversation)](https://github.com/cssnr/portainer-stack-deploy-action/discussions)
[![Discord](https://img.shields.io/badge/discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/wXy6m2X8wY)

If you run into any issues or want to see any new features, please let us know!

Contributing is as easy as telling us [what features or changes](https://github.com/cssnr/portainer-stack-deploy-action/discussions/categories/feature-requests) you want to see next…
Expand Down Expand Up @@ -33,15 +38,9 @@ If you run into any problems or find a bug, please [open an issue](https://githu

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
From here you can contact me directly, `Shane@111150265075298304`.

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

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

[https://cssnr.github.io/feedback/](https://cssnr.github.io/feedback/?app=Portainer%20Deploy%20Action)
[![Chat on Discord](https://img.shields.io/badge/Chat_on_Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/wXy6m2X8wY)

 

Expand Down
Loading