mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-01-18 13:34:56 +08:00
fix: Fix docs issue and add echarts to github actions cdn.
This commit is contained in:
parent
7f7d8de93c
commit
7509914051
6
.github/workflows/blocks-cdn.yaml
vendored
6
.github/workflows/blocks-cdn.yaml
vendored
@ -50,3 +50,9 @@ 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-echarts
|
||||
run: |
|
||||
aws --region eu-west-1 s3 sync packages/blocks/blocksECharts/dist s3://blocks-cdn.lowdefy.com/${{ github.event.release.tag_name }}/blocks-echarts --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 }}
|
||||
|
@ -28,12 +28,18 @@
|
||||
"width": {
|
||||
"type": ["number", "string"],
|
||||
"default": "auto",
|
||||
"description": "Specify chart width explicitly, in pixel."
|
||||
"description": "Specify chart width explicitly, in pixel.",
|
||||
"docs": {
|
||||
"displayType": "string"
|
||||
}
|
||||
},
|
||||
"height": {
|
||||
"type": ["number", "string"],
|
||||
"default": "auto",
|
||||
"description": "Specify chart height explicitly, in pixel."
|
||||
"description": "Specify chart height explicitly, in pixel.",
|
||||
"docs": {
|
||||
"displayType": "string"
|
||||
}
|
||||
},
|
||||
"init": {
|
||||
"type": "object",
|
||||
|
Loading…
Reference in New Issue
Block a user