Невозможно развернуть мое приложение Vue на страницах GitHub - PullRequest
0 голосов
/ 01 ноября 2019

Я следовал за документом для развертывания моего приложения vue на gh-страницах, но столкнулся с ошибкой. Вот мой файл deploy.sh, упомянутый в официальном документе https://cli.vuejs.org/guide/deployment.html#github-pages:

#!/usr/bin/env sh

# abort on errors
set -e

# build
npm run build

# navigate into the build output directory
cd dist

# if you are deploying to a custom domain
# echo 'www.example.com' > CNAME

git init
git add -A
git commit -m 'deploy'

# if you are deploying to https://<USERNAME>.github.io
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master

# if you are deploying to https://<USERNAME>.github.io/<REPO>
git push -f git@github.com:VishalGulati/vue-grid-poc.git master:gh-pages

cd -

Вот ошибка, которую я получаю:

git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

PS - я запустил файл deploy.sh намоя ветка gh-pages. Мое приложение работает с использованием vue-cli 4.

Что может быть не так?

...