From: Ir1dXD Date: Thu, 29 Aug 2019 04:54:32 +0000 (+0800) Subject: Update .travis.yml X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d243617689d5c2e48ddb0dd5b58900606833b9f3;p=oi-wiki%2Fmain.git Update .travis.yml --- diff --git a/.travis.yml b/.travis.yml index f459fca9..aa9dce89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,7 +37,7 @@ after_deploy: - git push coding master:master -f - git fetch origin gh-pages - git checkout -b gh-pages origin/gh-pages - - git push coding gh-pages:coding-pages -f + - git push coding gh-pages:gh-pages -f - git checkout -b cdn-pages origin/gh-pages - find ./ -type f -name "*.html" -exec sed -i -E 's/([^"]*)(assets[^"]*)/https:\/\/cdn-for-oi-wiki.billchn.com\/\2/g' {} + - git add . @@ -46,4 +46,4 @@ after_deploy: - git commit --author "24OI-bot <15963390+24OI-bot@users.noreply.github.com>" -m "build cdn files" - git remote add gh-token "https://${GH_TOKEN}@github.com/OI-wiki/OI-wiki.git"; - git push gh-token cdn-pages -f - - git push coding cdn-pages:cdn-pages -f + - git push coding cdn-pages:coding-pages -f