FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
rescript-react-native.github.io/deploy.sh at src · EDLLT/rescript-react-native.github.io · GitHub
EDLLT
/
rescript-react-native.github.io
Public
forked from
rescript-react-native/rescript-react-native.github.io
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
rescript-react-native.github.io
/
deploy.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
10 lines (9 loc) · 310 Bytes
Breadcrumbs
rescript-react-native.github.io
/
deploy.sh
Copy path
File metadata and controls
executable file
·
10 lines (9 loc) · 310 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
#!
/usr/bin/env bash
GIT_DEPLOY_REPO=
${GIT_DEPLOY_REPO
:-
$(node -e
'
process.stdout.write(require("./package.json").repository)
'
)}
cd
build
&&
\
rm -rf .git
&&
\
git init
&&
\
git checkout -b main
&&
\
git add
.
-A
&&
\
git commit -m
"
Deploy to GitHub Pages
"
&&
\
git push --force
"
${GIT_DEPLOY_REPO}
"
main:main
Back
|
FazBrowse Home
|
New Git URL