Skip to content

Fixing build errors and change-version script #1178

Fixing build errors and change-version script

Fixing build errors and change-version script #1178

Workflow file for this run

name: Test Website Deploy
on: [pull_request]
jobs:
test-deploy:
name: Test 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-2024-08-12
override: true
components: rustfmt, rust-src
- uses: actions/cache@v2
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: Test Deploy
id: unmodified
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: website/dist
clean-exclude: '["dev"]'
dry-run: true
- name: Check step output
run: |
[[ \
${{steps.unmodified.outputs.deployment-status}} = skipped || \
${{steps.unmodified.outputs.deployment-status}} = success \
]]