mirror of
https://github.com/lowdefy/lowdefy.git
synced 2024-12-09 05:41:08 +08:00
chore(github-actions): Test event parameter.
This commit is contained in:
parent
da1f34c5c4
commit
1c31bb42b9
18
.github/workflows/blocks-cdn.yaml
vendored
18
.github/workflows/blocks-cdn.yaml
vendored
@ -16,20 +16,16 @@ jobs:
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- uses: actions/checkout@v1
|
||||
- name: Install dependencies
|
||||
run: yarn
|
||||
- name: Build all
|
||||
run: yarn build
|
||||
# - name: Install dependencies
|
||||
# run: yarn
|
||||
# - name: Build all
|
||||
# run: yarn build
|
||||
- name: Upload to blocks-cdn.lowdefy.com
|
||||
run: |
|
||||
echo s3://blocks-cdn.lowdefy.com/@lowdefy/blocks-antd@${{ github.event.push.push_id }}/dist
|
||||
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 to blocks-cdn.lowdefy.com
|
||||
echo s3://blocks-cdn.lowdefy.com/blocks-antd/${{ github.event.number }}
|
||||
# - name: Upload blocks-cdn.lowdefy.com/blocks-antd
|
||||
# run: |
|
||||
# echo s3://blocks-cdn.lowdefy.com/@lowdefy/blocks-basic@${{ github.event.push.push_id }}/dist
|
||||
# aws --region eu-west-1 s3 cp packages/blocks/blocksAntd/dist s3://blocks-cdn.lowdefy.com/@lowdefy/blocks-basic@${{ github.event.release.tag_name }}/dist
|
||||
# aws --region eu-west-1 s3 cp packages/blocks/blocksAntd/dist s3://blocks-cdn.lowdefy.com/blocks-antd/${{ github.event.release.tag_name }}
|
||||
# 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 }}
|
Loading…
Reference in New Issue
Block a user