mirror of
https://github.com/GiriNeko/CheckChrome.git
synced 2025-12-16 13:17:15 +00:00
13 lines
443 B
Bash
13 lines
443 B
Bash
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
|