From a94bd9592add441d362a298321359c77341524c6 Mon Sep 17 00:00:00 2001 From: teolhyn Date: Thu, 29 Aug 2024 09:05:37 +0300 Subject: [PATCH] chore: add workflow for deployment to github pages --- .github/workflows/deploy.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f9fefa8a..cbe492ea 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,6 +26,21 @@ jobs: uses: actions/setup-node@v1 with: node-version: '${{ steps.nvm.outputs.NVMRC }}' + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + - name: Install Stellar + run: | + cargo install --locked stellar-cli --features opt + + - name: Build Reflector + run: | + cd contracts/reflector + soroban contract build --release --target wasm32-unknown-unknown + cd ../.. + - name: Install and build run: | npm install