mirror of
https://github.com/GiriNeko/CheckChrome.git
synced 2025-12-17 13:47:21 +00:00
feat: bring up generator & deployer
This commit is contained in:
parent
c9b66c9394
commit
dabf13058a
2 changed files with 33 additions and 0 deletions
13
util/deployer.sh
Normal file
13
util/deployer.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/${GitHubRepo}.git
|
||||
git pull origin gh-pages
|
||||
rm -rf ./*
|
||||
cp -rf ../public/* ../_deploy/
|
||||
git add --all .
|
||||
git commit -m "Daily check of Chrome offline packages by Travis CI"
|
||||
git push --quiet --force origin HEAD:gh-pages
|
||||
Loading…
Add table
Add a link
Reference in a new issue