Skip to content

Commit

Permalink
fix: github releases and production icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Inlustra committed Jul 23, 2021
1 parent 971a3d7 commit 053621b
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ jobs:
- name: Find and Replace
uses: jacobtomlinson/gha-find-replace@master
with:
find: "https:\\/\\/github\\.com\\/plugsy\\/core\\/releases\\/download\\/(.*?)\\/config-schema\\.json"
replace: "https://github.com/plugsy/core/releases/download/v${{ needs.getversion.outputs.version }}/config-schema.json"
find: "https:\\/\\/github\\.com\\/plugsy\\/core\\/releases\\/download\\/(.*?)\\/core-config-schema\\.json"
replace: "https://github.com/plugsy/core/releases/download/v${{ needs.getversion.outputs.version }}/core-config-schema.json"

- name: Create Pull Request with updated package files
uses: peter-evans/create-pull-request@v3
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ config.json

```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"connectors": [
{
"type": "DOCKER",
Expand Down Expand Up @@ -171,7 +171,7 @@ Example using the [raw connector](docs/connectors/raw.md):

```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"connectors": [
{
"type": "DOCKER",
Expand Down
2 changes: 1 addition & 1 deletion docs/agent-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Simply add the agent section to your configuration file with the location of you

```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"agent": {
"endpoint": "http://localhost:3000/graphql"
}
Expand Down
2 changes: 1 addition & 1 deletion docs/connectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Can use a list of website urls (And other request formats) for Plugsy to ping an

```
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"connectors": [
{
"type": "DOCKER",
Expand Down
6 changes: 3 additions & 3 deletions docs/connectors/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A docker connector, provides access directly to a docker socket or URL mapping e

```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"connectors": [
{
"type": "DOCKER",
Expand Down Expand Up @@ -95,7 +95,7 @@ services:
```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"connectors": [
{
"type": "DOCKER",
Expand Down Expand Up @@ -130,7 +130,7 @@ See [Dockerode](https://www.npmjs.com/package/dockerode) for alternative connect

```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"connectors": [
{
"type": "DOCKER",
Expand Down
4 changes: 2 additions & 2 deletions docs/connectors/raw.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Provides items in the dashboard directly from the config itself

```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"connectors": [
{
"type": "RAW",
Expand All @@ -28,7 +28,7 @@ Provides items in the dashboard directly from the config itself

```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"connectors": [
{
"type": "RAW",
Expand Down
4 changes: 2 additions & 2 deletions docs/connectors/website.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Can use a list of website urls (And other request formats) for Plugsy to ping an

```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"connectors": [
{
"type": "WEBSITE",
Expand All @@ -32,7 +32,7 @@ Can use a list of website urls (And other request formats) for Plugsy to ping an

```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"connectors": [
{
"type": "WEBSITE",
Expand Down
4 changes: 2 additions & 2 deletions docs/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Good for use on a TV

```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"loggingLevel": "verbose",
"theme": {
"pages": {
Expand All @@ -46,7 +46,7 @@ This can be used as a base for a dark mode.

```jsonc
{
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/config-schema.json",
"$schema": "https://github.com/plugsy/core/releases/download/v4.0.0/core-config-schema.json",
"theme": {
"colors": {
"GREEN": "#50fa7b",
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "5.0.0",
"version": "5.0.1",
"workspaces": [
"packages/*"
],
Expand Down Expand Up @@ -50,10 +50,12 @@
"assets": [
{
"path": "./packages/core/server/config-schema.json",
"name": "core-config-schema.json",
"label": "Core Config Schema"
},
{
"path": "./packages/agent/src/config-schema.json",
"name": "agent-config-schema.json",
"label": "Agent Config Schema"
}
]
Expand Down

0 comments on commit 053621b

Please sign in to comment.