Open rlopzc opened 5 years ago
Check your remotes: $ git remote -v
$ git remote -v
If you only have origin listed then add the swagger-api origin: $ git remote add swagger git@github.com:swagger-api/swagger-ui.git
origin
$ git remote add swagger git@github.com:swagger-api/swagger-ui.git
If you have the swagger remote listed:
master
$ git checkout master
swagger-api
$ git fetch swagger master
$ git pull swagger master
Change to arcus branch: $ git checkout arcus
arcus
$ git checkout arcus
Rebase arcus branch from master: $ git rebase master --strategy-option theirs
$ git rebase master --strategy-option theirs
Run yarn or npm install to install the latest deps: $ npm install
yarn
npm install
$ npm install
Then run the custom bash script to update everything else:
$ chmod +x ./update-github-pages.sh
$ ./update-github-pages.sh
Why are you copying dist (cp -r dist/ . && \) in to . ?
dist
cp -r dist/ . && \
.
Because the bundle is built on dist/. I extract it to /
dist/
/
Check your remotes:
$ git remote -v
If you only have
origin
listed then add the swagger-api origin:$ git remote add swagger git@github.com:swagger-api/swagger-ui.git
If you have the swagger remote listed:
master
branch:$ git checkout master
swagger-api
master branch:$ git fetch swagger master
swagger-api
master branch to yours:$ git pull swagger master
Change to
arcus
branch:$ git checkout arcus
Rebase
arcus
branch frommaster
:$ git rebase master --strategy-option theirs
Run
yarn
ornpm install
to install the latest deps:$ npm install
Then run the custom bash script to update everything else:
$ chmod +x ./update-github-pages.sh
$ ./update-github-pages.sh