Skip to content

Commit

Permalink
chore(vercel): configure locally and add to deploy website
Browse files Browse the repository at this point in the history
Closes #854.
  • Loading branch information
C0ZEN committed Aug 25, 2022
1 parent bb469ac commit 5c9d5fa
Show file tree
Hide file tree
Showing 8 changed files with 3,108 additions and 164 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ coverage
reports
documentation/.docusaurus
documentation/build
.vercel
4 changes: 4 additions & 0 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ jobs:
publish_dir: ./documentation/build
user_name: ${{ secrets.GIT_COMMITTER_NAME }}
user_email: ${{ secrets.GIT_COMMITTER_EMAIL }}
- name: Deploy to Vercel
run: |
npm run build:docs:vercel
npm run deploy:vercel:prod
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ token.json
.DS_Store
Thumbs.db


.vercel
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ package-lock.json
coverage
documentation/.docusaurus
documentation/build
.vercel
2 changes: 2 additions & 0 deletions documentation/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

.vercel
4 changes: 2 additions & 2 deletions documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start --config docusaurus.github.config.js ",
"start:vercel": "docusaurus start --config docusaurus.vercel.config.js ",
"start": "docusaurus start --config docusaurus.github.config.js",
"start:vercel": "docusaurus start --config docusaurus.vercel.config.js",
"start:french": "npm run start -- --locale fr",
"build": "npm run generate-files && docusaurus build --config docusaurus.github.config.js",
"build:vercel": "npm run generate-files && docusaurus build --config docusaurus.vercel.config.js",
Expand Down
Loading

0 comments on commit 5c9d5fa

Please sign in to comment.