diff --git a/.github/workflows/publish-genesis-rollup.yml b/.github/workflows/publish-genesis-rollup.yml new file mode 100644 index 000000000000..07f1c63c2f5e --- /dev/null +++ b/.github/workflows/publish-genesis-rollup.yml @@ -0,0 +1,23 @@ +name: Publish genesis and rollup file + +on: + push: + paths: + - 'packages/tokamak/contracts-bedrock/genesis/**' + workflow_dispatch: + +jobs: + publish-genesis-rollup: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - uses: jakejarvis/s3-sync-action@master + with: + args: --acl public-read --follow-symlinks + env: + AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET_DEV }} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID_DEV }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY_DEV }} + AWS_REGION: 'ap-northeast-2' + SOURCE_DIR: 'packages/tokamak/contracts/genesis' \ No newline at end of file