Skip to content
This repository was archived by the owner on Jul 18, 2026. It is now read-only.

chore(deps): bump pre-commit-hooks from 3cfd774 to 61ab0e8 (#94) #150

chore(deps): bump pre-commit-hooks from 3cfd774 to 61ab0e8 (#94)

chore(deps): bump pre-commit-hooks from 3cfd774 to 61ab0e8 (#94) #150

Workflow file for this run

name: GitHub Pages
env:
CARGO_TERM_COLOR: always
DIOXUS_VERSION: 0.7.2
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
with:
persist-credentials: false
- name: Install Rust toolchain
run: rustup install stable --target wasm32-unknown-unknown
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2
- name: Install Dioxus
run: cargo install --locked dioxus-cli@${{ env.DIOXUS_VERSION }}
- name: Build app
run: dx bundle --release
- name: Upload static files as artifact
id: upload-artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: dist/public
deploy:
name: Deploy
permissions:
# For the push to `gh-pages` branch.
id-token: write
contents: write
pages: write
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
if: success()
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0