Skip to content

Commit

Permalink
Push legacy prod config with samb2 to bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
SvineruS committed Jan 19, 2024
1 parent bde6331 commit 5972ef0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upload_config_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- dev
- main
paths:
- 'contracts/configs/main.json'
- 'contracts/configs/legacy/main.json'

jobs:
upload_chainspec_devnet:
Expand All @@ -32,4 +32,4 @@ jobs:

- name: Upload config
run: |
aws s3 cp contracts/configs/main.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/index.html --content-type application/json --cache-control no-cache
aws s3 cp contracts/configs/legacy/main.json s3://${{ steps.extract_bucket.outputs.bucket_name }}/index.html --content-type application/json --cache-control no-cache
2 changes: 1 addition & 1 deletion contracts/scripts/legacy_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ function mapToLegacyToken(newToken: Token) {
return legacyToken;
}

mapToLegacyConfig("test")
mapToLegacyConfig("main")

0 comments on commit 5972ef0

Please sign in to comment.