mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-11-24 11:44:51 +03:00
Moved landing page deployment script to landing page directory.
This commit is contained in:
parent
eea735ad0a
commit
83e325aa61
@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
git push origin `git subtree split --prefix landing-page master`:gh-pages --force
|
8
landing-page/deploy-master-to-gh-pages.sh
Executable file
8
landing-page/deploy-master-to-gh-pages.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
GIT_ROOT=`git rev-parse --show-toplevel`
|
||||
DIR_TO_DEPLOY=`pwd`
|
||||
DIR_TO_DEPLOY_REL_TO_GIT_ROOT="${DIR_TO_DEPLOY#"$GIT_ROOT"/}"
|
||||
cd $GIT_ROOT
|
||||
SUBTREE_MASTER_REF=`git subtree split --prefix "$DIR_TO_DEPLOY_REL_TO_GIT_ROOT" master`
|
||||
echo "$SUBTREE_MASTER_REF"
|
||||
git push origin "$SUBTREE_MASTER_REF":gh-pages --force
|
Loading…
Reference in New Issue
Block a user