Skip to content

ci: add nix check

ci: add nix check #30

Workflow file for this run

name: GitHub Pages
env:
CARGO_TERM_COLOR: always
DIOXUS_VERSION: 0.6.3
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
# For the push to `gh-pages` branch.
contents: write
pages: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: dtolnay/rust-toolchain@4305c38b25d97ef35a8ad1f985ccf2d2242004f2 # stable
with:
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2
- name: Install Dioxus
run: cargo install dioxus-cli@${{ env.DIOXUS_VERSION }}
- name: Build app
run: dx bundle --release
- name: Deploy Project 🚀
uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4
with:
branch: gh-pages
folder: dist/public