mirror of
https://github.com/lowdefy/lowdefy.git
synced 2024-12-03 05:30:13 +08:00
fix: Fix blocks-color-seletors typo.
This commit is contained in:
parent
2afebd109a
commit
b6ccedd355
17
.github/workflows/blocks-cdn.yaml
vendored
17
.github/workflows/blocks-cdn.yaml
vendored
@ -20,6 +20,12 @@ jobs:
|
||||
run: yarn
|
||||
- name: Build all
|
||||
run: yarn build
|
||||
- name: Upload blocks-cdn.lowdefy.com/renderer
|
||||
run: |
|
||||
aws --region eu-west-1 s3 sync packages/renderer/dist s3://blocks-cdn.lowdefy.com/${{ github.event.release.tag_name }}/renderer --acl public-read --cache-control 'public, max-age=31536000'
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_S3_BLOCKS_CDN_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_S3_BLOCKS_CDN_SECRET_ACCESS_KEY }}
|
||||
- name: Upload blocks-cdn.lowdefy.com/blocks-basic
|
||||
run: |
|
||||
aws --region eu-west-1 s3 sync packages/blocks/blocksBasic/dist s3://blocks-cdn.lowdefy.com/${{ github.event.release.tag_name }}/blocks-basic --acl public-read --cache-control 'public, max-age=31536000'
|
||||
@ -38,15 +44,10 @@ jobs:
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_S3_BLOCKS_CDN_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_S3_BLOCKS_CDN_SECRET_ACCESS_KEY }}
|
||||
- name: Upload blocks-cdn.lowdefy.com/blocks-color
|
||||
- name: Upload blocks-cdn.lowdefy.com/blocks-color-selectors
|
||||
run: |
|
||||
aws --region eu-west-1 s3 sync packages/blocks/blocksColor/dist s3://blocks-cdn.lowdefy.com/${{ github.event.release.tag_name }}/blocks-color --acl public-read --cache-control 'public, max-age=31536000'
|
||||
aws --region eu-west-1 s3 sync packages/blocks/blocksColorSelectors/dist s3://blocks-cdn.lowdefy.com/${{ github.event.release.tag_name }}/blocks-color-selectors --acl public-read --cache-control 'public, max-age=31536000'
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_S3_BLOCKS_CDN_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_S3_BLOCKS_CDN_SECRET_ACCESS_KEY }}
|
||||
- name: Upload blocks-cdn.lowdefy.com/renderer
|
||||
run: |
|
||||
aws --region eu-west-1 s3 sync packages/renderer/dist s3://blocks-cdn.lowdefy.com/${{ github.event.release.tag_name }}/renderer --acl public-read --cache-control 'public, max-age=31536000'
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_S3_BLOCKS_CDN_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_S3_BLOCKS_CDN_SECRET_ACCESS_KEY }}
|
||||
|
@ -22,7 +22,7 @@ const addRemoteEntryUrl = (content, absoluteFrom) => {
|
||||
module: path.basename(absoluteFrom, '.json'),
|
||||
scope,
|
||||
version: packageJson.version,
|
||||
remoteEntryUrl: `https://blocks-cdn.lowdefy.com/v${packageJson.version}/blocks-color/remoteEntry.js`,
|
||||
remoteEntryUrl: `https://blocks-cdn.lowdefy.com/v${packageJson.version}/blocks-color-selectors/remoteEntry.js`,
|
||||
};
|
||||
}
|
||||
return JSON.stringify(meta);
|
||||
|
@ -228,30 +228,30 @@ const defaultMetaLocations = {
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-antd/meta/WeekSelector.json`,
|
||||
},
|
||||
|
||||
// @lowdefy/blocks-color-selectors
|
||||
// @lowdefy/blocks-color-selectors-selectors
|
||||
ColorSelector: {
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color/meta/ColorSelector.json`,
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color-selectors/meta/ColorSelector.json`,
|
||||
},
|
||||
ChromeColorSelector: {
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color/meta/ChromeColorSelector.json`,
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color-selectors/meta/ChromeColorSelector.json`,
|
||||
},
|
||||
CircleColorSelector: {
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color/meta/CircleColorSelector.json`,
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color-selectors/meta/CircleColorSelector.json`,
|
||||
},
|
||||
CompactColorSelector: {
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color/meta/CompactColorSelector.json`,
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color-selectors/meta/CompactColorSelector.json`,
|
||||
},
|
||||
GithubColorSelector: {
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color/meta/GithubColorSelector.json`,
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color-selectors/meta/GithubColorSelector.json`,
|
||||
},
|
||||
SliderColorSelector: {
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color/meta/SliderColorSelector.json`,
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color-selectors/meta/SliderColorSelector.json`,
|
||||
},
|
||||
SwatchesColorSelector: {
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color/meta/SwatchesColorSelector.json`,
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color-selectors/meta/SwatchesColorSelector.json`,
|
||||
},
|
||||
TwitterColorSelector: {
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color/meta/TwitterColorSelector.json`,
|
||||
url: `https://blocks-cdn.lowdefy.com/v${version}/blocks-color-selectors/meta/TwitterColorSelector.json`,
|
||||
},
|
||||
// @lowdefy/blocks-markdown
|
||||
Markdown: {
|
||||
|
Loading…
Reference in New Issue
Block a user