Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 67a4e93

Browse files
install gh-pages locally
1 parent e035339 commit 67a4e93

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
@@ -68,15 +68,15 @@ commands:
6868
- run:
6969
name: Install and configure dependencies
7070
command: |
71-
sudo npm install -g gh-pages@2.0.1
71+
npm install gh-pages@2.0.1
7272
git config user.email "ci-build@binary.com"
7373
git config user.name "ci-build"
7474
- add_ssh_keys:
7575
fingerprints:
7676
- "6e:e8:9f:f9:7e:9f:50:a4:84:ac:15:b9:32:54:9f:71"
7777
- run:
7878
name: Deploy docs to gh-pages branch
79-
command: gh-pages -d dist/compressed --branch << parameters.target_branch >> --message '[skip ci]'
79+
command: node ./node_modules/gh-pages/bin/gh-pages -d dist/compressed --branch << parameters.target_branch >> --message '[skip ci]'
8080
docker_build_push:
8181
description: "Build and Push image to docker hub"
8282
parameters:

0 commit comments

Comments
 (0)