From 8df6c8f94db472dd24c365d91b39ec90433eb73f Mon Sep 17 00:00:00 2001 From: Tobias Kohr Date: Tue, 12 Sep 2023 11:00:57 +0200 Subject: [PATCH] ci(wc): adapt workflow tag and doc --- .github/workflows/webcomponents.yml | 2 +- docs/guide/webcomponents.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/webcomponents.yml b/.github/workflows/webcomponents.yml index 1e133f4aae..e090eb78bb 100644 --- a/.github/workflows/webcomponents.yml +++ b/.github/workflows/webcomponents.yml @@ -7,7 +7,7 @@ on: branches: - main tags: - - '*.*.*' + - 'v*.*.*' release: types: [published] diff --git a/docs/guide/webcomponents.md b/docs/guide/webcomponents.md index 7b372d20c3..c1282a6664 100644 --- a/docs/guide/webcomponents.md +++ b/docs/guide/webcomponents.md @@ -20,7 +20,7 @@ Web Components are made to be easily included in any context. To do so, you have - include your Web Component in the HTML content. ```html - + ... `v1.1.0` as well as `wc-dist-main`. +The Web Component script is automatically built upon merges on main and for releases. These builds are made available via a jsdelivr CDN, which points at `wc-dist` branches in the github repository. There is a `wc-dist` branch for every release tag > `v2.0.0` as well as `wc-dist-main`. -You can choose the version of the Web Component script you wish to use by indicating the corresponding value in the script's URL e.g. `wc-dist-v1.1.0`. +You can choose the version of the Web Component script you wish to use by indicating the corresponding value in the script's URL e.g. `wc-dist-v2.0.0`. ## Build