Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 7a8d99e

Browse files
install gh-pages locally
1 parent d812476 commit 7a8d99e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ commands:
8181
command: |
8282
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
8383
sudo apt install nodejs
84-
sudo npm install -g gh-pages@2.0.1
84+
sudo npm install gh-pages@2.0.1
8585
git config user.email "ci-build@binary.com"
8686
git config user.name "ci-build"
8787
- add_ssh_keys:
8888
fingerprints:
8989
- "5f:93:6c:f9:55:6b:b7:03:36:5d:59:03:55:9b:45:ed"
9090
- run:
9191
name: Deploy docs to gh-pages branch
92-
command: gh-pages -d _site --branch << parameters.target_branch >> --message '[skip ci]'
92+
command: node ./node_modules/gh-pages/bin/gh-pages -d _site --branch << parameters.target_branch >> --message '[skip ci]'
9393
docker_build_push:
9494
description: "Build Docker image"
9595
steps:

0 commit comments

Comments
 (0)