Skip to content

Commit 3470b4d

Browse files
committed
chore: script
1 parent e9a5075 commit 3470b4d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
node-version: '14'
1919
- run: yarn
2020
- run: yarn build
21-
- run: yarn rgd --token=${{ secrets.GH_TOKEN }} --site-title=浮之静 --site-link=https://lencx.tech --site-desc="浮之静 技术社区"
22-
- run: yarn woap --token=${{ secrets.GH_TOKEN }}
21+
- run: yarn rgd --token=${{ secrets.GITHUB_TOKEN }}
22+
- run: yarn woap --token=${{ secrets.GITHUB_TOKEN }}
2323

2424
- name: Deploy
2525
uses: peaceiris/actions-gh-pages@v3
2626
with:
27-
github_token: ${{ secrets.GH_TOKEN }}
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
2828
publish_dir: ./dist
2929
force_orphan: true

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type-check": "tsc",
1111
"lint": "eslint . --ext ts,tsx,js,jsx",
1212
"lint:fix": "yarn lint --fix",
13-
"rgd": "rgd --owner=lencx --repo=z --limit=20 --outdir=dist --mode=json,rss",
13+
"rgd": "rgd --owner=lencx --repo=z --limit=20 --outdir=dist --mode=json,rss --site-title=浮之静 --site-link=https://lencx.tech --site-desc=\"浮之静 技术社区\"",
1414
"woap": "woap --owner=lencx --repo=z --root='dist/posts' --labels='微信杂谈' --suffix=html --ignore=\".(gif|mp4|png|jpe?g)$\""
1515
},
1616
"repository": {

0 commit comments

Comments
 (0)