Skip to content

Commit

Permalink
test pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornarhagen committed Jul 16, 2023
1 parent 78d9a8e commit 18e0df7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -26,8 +26,11 @@ jobs:
- name: Run build.sh
run: bash build.sh

- name: Copy contents of "dist/" into ".vercel/output/"
run: mkdir -p .vercel/output && cp -r dist/ .vercel/output/
- name: Copy contents of "dist/" into ".vercel/output/static/"
run: mkdir -p .vercel/output/static/ && cp -r dist/ .vercel/output/static/

- name: Copy vercel-config.json to ".vercel/output/config.json"
run: cp vercel-config.json .vercel/output/config.json

- name: Install Vercel CLI
run: npm install --global vercel@latest
Expand Down
14 changes: 14 additions & 0 deletions vercel-config.json
@@ -0,0 +1,14 @@
{
"version": 3,
"routes": [
{
"handle": "error"
},
{
"status": 404,
"src": "^(?!/api).*$",
"dest": "/404.html"
}
],
"crons": []
}

0 comments on commit 18e0df7

Please sign in to comment.