1
Fork 0
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:
Kevin Amado 2022-02-13 14:29:30 -05:00 committed by GitHub
commit daf0455935
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

15
front/deploy Executable file
View 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

View file

@ -21,6 +21,7 @@
"react-wasm": "^1.0.1",
"tachyons": "^4.12.0"
},
"homepage": "https://kamadorueda.github.io/alejandra",
"name": "front",
"private": true,
"scripts": {