Update tests to use API V1 #16
This file contains hidden or 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: Staging Website Deploy | |
| on: | |
| push: | |
| branches: | |
| - staging | |
| jobs: | |
| deploy: | |
| name: SDK Website | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| # with: | |
| # persist-credentials: false | |
| - name: Install Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| profile: minimal | |
| toolchain: nightly-2025-08-28 | |
| override: true | |
| components: rustfmt, rust-src | |
| - uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-website-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Install and Build | |
| run: | | |
| yarn | |
| yarn build:all | |
| cd website | |
| yarn build | |
| env: | |
| CI: "" | |
| - name: Deploy | |
| id: modified | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| branch: staging.provable.tools | |
| folder: website/dist | |
| clean-exclude: '["dev"]' | |
| - name: Check step output | |
| run: | | |
| [[ \ | |
| ${{steps.modified.outputs.deployment-status}} = skipped || \ | |
| ${{steps.modified.outputs.deployment-status}} = success \ | |
| ]] |