chore(github-actions): Test event parameter.

This commit is contained in:
Gervwyk 2021-02-05 15:26:23 +02:00
parent da1f34c5c4
commit 1c31bb42b9

View File

@ -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 }}