Skip to content

Commit

Permalink
chore: vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg committed Jan 31, 2022
1 parent 26ba27f commit 92f95b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docs-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,5 @@ jobs:
vercel-org-id: ${{ secrets.VERCEL_TEAM_ID}}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
working-directory: dist/mosaic-docs
vercel-args:
'--scope ptsecurity'
scope: ptsecurity

13 changes: 2 additions & 11 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
{
"name": "mosaic",
"version": 2,
"scope": "ptsecurity",
"github": {
"enabled": false
},
"routes": [
{
"src": "/assets/(.*)",
"dest": "/assets/$1"
},
{ "src": "/(.*).js", "dest": "/$1.js" },
{ "src": "/(.*).css", "dest": "/$1.css" },
{ "src": "/(.*).svg", "dest": "/$1.svg" },
{ "src": "/(.*).json", "dest": "/$1.json" },
{ "src": "/(.*).html", "dest": "/$1.html" }
]
"builds": [{ "src": "dist/mosaic-docs/**", "use": "@vercel/static" }]
}

0 comments on commit 92f95b1

Please sign in to comment.