Skip to content

Commit

Permalink
chore: add workflow for deployment to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Teolhyn committed Aug 29, 2024
1 parent 93ef8ec commit 21df47b
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,25 @@ jobs:
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm
- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v3
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: Setup env
run: cp .env.example .env
- name: Build Reflector
run: |
cd contracts/reflector
soroban contract build
cd ../..
- name: Install and build
run: |
npm install
Expand All @@ -38,7 +54,6 @@ jobs:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 21df47b

Please sign in to comment.