Skip to content

Commit 945a1ac

Browse files
committed
feat: add email
1 parent 3ace262 commit 945a1ac

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
- name: Install dependencies
2626
run: npm ci
2727
- name: Deploy
28-
run: npm run deploy
28+
run: |
29+
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
30+
npm run deploy
2931
env:
3032
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3133
REPO_GITHUB_API_TOKEN: ${{ secrets.REPO_GITHUB_API_TOKEN }}

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.0.0",
44
"type": "module",
55
"exports": {
6-
"./*": ["./src/*", "./src/*.ts"]
6+
"./*": [
7+
"./src/*",
8+
"./src/*.ts"
9+
]
710
},
811
"dependencies": {
912
"@docsearch/css": "^3.9.0",
@@ -30,7 +33,7 @@
3033
"dev": "marko-run",
3134
"preview": "marko-run preview",
3235
"build": "marko-run build",
33-
"deploy": "marko-run build && gh-pages --cname next.markojs.com --nojekyll -d dist/public"
36+
"deploy": "marko-run build && gh-pages --cname next.markojs.com --nojekyll -d dist/public -u \"marko-js <noreply@markojs.com>\""
3437
},
3538
"devDependencies": {
3639
"@marko/type-check": "^1.3.21",

0 commit comments

Comments
 (0)