chore(docker): add firefly-core #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run demo | |
on: | |
pull_request: | |
jobs: | |
demo: | |
name: Run Demo | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Add wallet secret | |
run: mkdir ./infra/wallet ; echo '${{ secrets.DEMO_WALLET }}' > ./infra/wallet/addr_test1vqhkukz0285zvk0xrwk9jlq0075tx6furuzcjvzpnhtgelsuhhqc4.skey | |
- name: Start docker-compose | |
run: docker compose -f ./infra/docker-compose.yaml -p preview up -d --build | |
env: | |
BLOCKFROST_KEY: ${{ secrets.BLOCKFROST_KEY }} | |
- name: Add just | |
uses: extractions/setup-just@v2 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Add wasm32-unknown-unknown target | |
run: rustup target add wasm32-unknown-unknown | |
- name: Logs | |
run: | | |
docker compose -f ./infra/docker-compose.yaml -p preview logs | |
docker ps -a | |
- name: Run demo | |
env: | |
ADDR_FROM: addr_test1vqhkukz0285zvk0xrwk9jlq0075tx6furuzcjvzpnhtgelsuhhqc4 | |
ADDR_TO: addr_test1vqeux7xwusdju9dvsj8h7mca9aup2k439kfmwy773xxc2hcu7zy99 | |
run: just demo |