mirror of
https://github.com/RGBCube/alejandra
synced 2025-08-01 04:57:44 +00:00
feat: relative path and deploy script
This commit is contained in:
parent
c4795c6d6d
commit
865ec5231c
2 changed files with 16 additions and 0 deletions
15
front/deploy
Executable file
15
front/deploy
Executable file
|
@ -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
|
|
@ -21,6 +21,7 @@
|
||||||
"react-wasm": "^1.0.1",
|
"react-wasm": "^1.0.1",
|
||||||
"tachyons": "^4.12.0"
|
"tachyons": "^4.12.0"
|
||||||
},
|
},
|
||||||
|
"homepage": "https://kamadorueda.github.io/alejandra",
|
||||||
"name": "front",
|
"name": "front",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue