From d243617689d5c2e48ddb0dd5b58900606833b9f3 Mon Sep 17 00:00:00 2001 From: Ir1dXD Date: Thu, 29 Aug 2019 12:54:32 +0800 Subject: [PATCH] Update .travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0