mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 12:37:45 +00:00
Merge pull request #86 from kamadorueda/kamadorueda
feat: relative path and deploy script
This commit is contained in:
commit
daf0455935
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",
|
||||
"tachyons": "^4.12.0"
|
||||
},
|
||||
"homepage": "https://kamadorueda.github.io/alejandra",
|
||||
"name": "front",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue