[website] Add Maintenance Page (#10) #7
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: Publish | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| jobs: | |
| All: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Get Rust version | |
| id: rust-version | |
| run: echo "rust_version=$(rustc --version)" >> "$GITHUB_OUTPUT" | |
| - name: Run setup | |
| uses: ./.github/actions/setup | |
| - name: Publish types | |
| run: cargo publish --manifest-path types/Cargo.toml | |
| continue-on-error: true | |
| env: | |
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
| - name: Publish execution | |
| run: cargo publish --manifest-path execution/Cargo.toml | |
| continue-on-error: true | |
| env: | |
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
| - name: Publish simulator | |
| run: cargo publish --manifest-path simulator/Cargo.toml | |
| continue-on-error: true | |
| env: | |
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
| - name: Publish client | |
| run: cargo publish --manifest-path client/Cargo.toml | |
| continue-on-error: true | |
| env: | |
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
| - name: Publish node | |
| run: cargo publish --manifest-path node/Cargo.toml | |
| continue-on-error: true | |
| env: | |
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
| - name: Publish randotron | |
| run: cargo publish --manifest-path randotron/Cargo.toml | |
| continue-on-error: true | |
| env: | |
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
| - name: Publish deployer | |
| run: cargo publish --manifest-path deployer/Cargo.toml | |
| continue-on-error: true | |
| env: | |
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |