Skip to content

Add some custom fonts #14

Add some custom fonts

Add some custom fonts #14

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
targets: wasm32-unknown-unknown
- name: install trunk
run: >
wget -qO- https://github.com/trunk-rs/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
&& sudo mv ./trunk /usr/bin/
- run: cargo generate-lockfile
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- run: trunk build --release
- uses: actions/upload-pages-artifact@v3
with:
path: dist/
deploy:
name: Deploy
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployments.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4
id: deployment