Skip to content

Commit

Permalink
Update upload_config_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Eshanchik authored Jul 19, 2024
1 parent c96ec26 commit 7aabe4c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/upload_config_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- '*'
paths:
- 'contracts/configs/legacy/test.json'
- 'contracts/configs/test.json'

jobs:
upload_chainspec_devnet:
Expand All @@ -29,6 +30,10 @@ jobs:
id: extract_bucket
run: echo "::set-output name=bucket_name::$(aws s3 ls | grep bridge-config-test | awk '{print $3}')"

- name: Upload legacy config
run: |
aws s3 cp contracts/configs/legacy/test.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/v1 --content-type application/json --cache-control no-cache
- name: Upload config
run: |
aws s3 cp contracts/configs/legacy/test.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/index.html --content-type application/json --cache-control no-cache
aws s3 cp contracts/configs/test.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/v2 --content-type application/json --cache-control no-cache

0 comments on commit 7aabe4c

Please sign in to comment.