diff --git a/.github/workflows/publish-embed.yml b/.github/workflows/publish-embed.yml index f25984e3..5b99d128 100644 --- a/.github/workflows/publish-embed.yml +++ b/.github/workflows/publish-embed.yml @@ -5,6 +5,8 @@ on: paths: - 'packages/embed/src/scripts/**' - 'packages/embed/src/styles/**' + - 'packages/embed/package.publish.json' + - 'packages/embed/README.publish.md' jobs: build: diff --git a/packages/embed/README.publish.md b/packages/embed/README.publish.md index a1471078..9a316b2c 100644 --- a/packages/embed/README.publish.md +++ b/packages/embed/README.publish.md @@ -2,9 +2,9 @@ This package contains the script and style assets for code snippet rendering in an embed. -To use it, include the CSS and JavaScript link to JSDelivr file. +To use it, include the CSS and JavaScript link to [UNPKG](https://unpkg.com) file. ```html - - + + ``` diff --git a/packages/embed/package.json b/packages/embed/package.json index 0ac9133c..47a0c523 100644 --- a/packages/embed/package.json +++ b/packages/embed/package.json @@ -1,6 +1,6 @@ { "name": "@snipcode/embed", - "version": "1.1.2", + "version": "1.1.3", "description": "Build the script and style assets for code snippet rendering in an embed.", "repository": " https://github.com/tericcabrel/snipcode.git", "author": "Eric Cabrel TIOGO ", diff --git a/packages/embed/package.publish.json b/packages/embed/package.publish.json index 0b661466..baafb844 100644 --- a/packages/embed/package.publish.json +++ b/packages/embed/package.publish.json @@ -1,6 +1,6 @@ { "name": "@snipcode/embed", - "version": "1.1.2", + "version": "1.1.3", "repository": { "type": "git", "url": "https://github.com/tericcabrel/snipcode.git"