Skip to content

chore: add tw to shell & fix test #12

chore: add tw to shell & fix test

chore: add tw to shell & fix test #12

Workflow file for this run

name: Deploy CI
on:
workflow_dispatch:
push:
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Cache Nix store
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build via Nix
run: nix build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'result/www'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4