Skip to content

Commit 535a18e

Browse files
committed
ci(gh-pages): rewrite git+http protocol to just https
This is auto-fixed by npm to git+https for Git repos but gh-pages chokes on it and only works with plain https.
1 parent d975f3f commit 535a18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
npx gh-pages \
9696
--dist . \
9797
--message "chore: update to $(git rev-parse HEAD) [ci skip]" \
98-
--repo "$(node -e 'process.stdout.write(require("./package.json").repository.url)')" \
98+
--repo "$(node -e 'process.stdout.write(require("./package.json").repository.url.replace(/^git\+https:\/\//, "https://"))')" \
9999
--src "{{coverage,docs,examples,$(node -e 'process.stdout.write(require("./package.json").files.join(","))')}/**/*,*.{html,md}}"
100100
101101
release:

0 commit comments

Comments
 (0)