Skip to content

Commit

Permalink
new leptos build and new design
Browse files Browse the repository at this point in the history
  • Loading branch information
snendev committed Nov 2, 2024
1 parent 49f8821 commit 71812c2
Show file tree
Hide file tree
Showing 33 changed files with 3,654 additions and 357 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Deploy snen.dev
on:
push:
branches: [ "main" ]

jobs:
deploy:
name: Build client and server and deploy to Deno.
runs-on: ubuntu-latest
permissions:
contents: read # Needed to clone the repository
id-token: write # Needed for auth with Deno Deploy

steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Install rust
uses: dtolnay/rust-toolchain@stable
with:
targets:
wasm32-unknown-unknown

- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

- name: Install Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Build server
run: deno task build:server

- name: Build client
run: deno task build:client

- name: Deno Deploy
uses: denoland/deployctl@v1
with:
project: snendev
root: apps/web
entrypoint: run.ts
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Generated by Cargo
# will have compiled files and executables
/target/
pkg

# These are backup files generated by rustfmt
**/*.rs.bk

# node e2e test tools and outputs
node_modules/
test-results/
end2end/playwright-report/
playwright/.cache/
6 changes: 0 additions & 6 deletions .vscode/extensions.json

This file was deleted.

8 changes: 0 additions & 8 deletions .vscode/settings.json

This file was deleted.

Loading

0 comments on commit 71812c2

Please sign in to comment.