diff --git a/front/deploy b/front/deploy new file mode 100755 index 0000000..8fe75d1 --- /dev/null +++ b/front/deploy @@ -0,0 +1,15 @@ +#! /usr/bin/env bash + +set -euo pipefail + +wasm-pack build --target web +yarn build + +git worktree remove worktree || true +git worktree add -B front worktree +git -C worktree reset --hard 6adfbe8516bf6d9e896534e01118e1bc41f65425 +cp -rT ./build/ ./worktree/ + +git -C worktree add . +git -C worktree commit -m "feat: deploy website" +git -C worktree push --force origin HEAD:front diff --git a/front/package.json b/front/package.json index 27a1753..daa839c 100644 --- a/front/package.json +++ b/front/package.json @@ -21,6 +21,7 @@ "react-wasm": "^1.0.1", "tachyons": "^4.12.0" }, + "homepage": "https://kamadorueda.github.io/alejandra", "name": "front", "private": true, "scripts": {