Skip to content

Upload bridge config on test #50

Upload bridge config on test

Upload bridge config on test #50

name: Upload bridge config on test
on:
workflow_dispatch:
push:
branches:
- dev
- main
paths:
- 'contracts/configs/legacy/test.json'
jobs:
upload_chainspec_testnet:
runs-on: ubuntu-latest
steps:
- name: pull source
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Upload config
run: |
aws s3 cp contracts/configs/test.json s3://bridge-config.ambrosus-test.io/index.html --content-type application/json --cache-control no-cache