mirror of
https://github.com/GiriNeko/CheckChrome.git
synced 2025-12-16 13:17:15 +00:00
chore(deploy): bring up deploy.sh
This commit is contained in:
parent
c2e2823b23
commit
d2eb9c7d16
1 changed files with 13 additions and 0 deletions
13
deploy.sh
Normal file
13
deploy.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
mkdir ./_deploy
|
||||
cd ./_deploy
|
||||
git init
|
||||
git config --global push.default matching
|
||||
git config --global user.email "${GitHubEMail}"
|
||||
git config --global user.name "${GitHubUser}"
|
||||
git remote add origin https://${GitHubKEY}@github.com/neko-dev/neohosts.git
|
||||
git pull origin gh-pages
|
||||
rm -rf ./*
|
||||
cp -rf ../_public/* ../_deploy/
|
||||
git add --all .
|
||||
git commit -m "Chrome daily"
|
||||
git push --quiet --force origin HEAD:gh-pages
|
||||
Loading…
Add table
Add a link
Reference in a new issue