Skip to content

Commit 49dcf8f

Browse files
committed
chore: repository
1 parent 4952cbb commit 49dcf8f

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version: '14'
2020
- run: yarn
21-
- run: yarn posts:ci --token=${{ secrets.GG_TOKEN }} --owner=${{ github.repository_owner }} --repo=${{ github.repository }} --issues-owner=${{ secrets.GG_ISSUES_USER }} --issues-repo=${{ secrets.GG_ISSUES_REPO }} --type=${{ secrets.GG_TYPE }} --issues-state=${{ secrets.GG_ISSUES_STATE }}
21+
- run: yarn posts:ci --token=${{ secrets.GG_TOKEN }} --repository=${{ github.repository }} --issues-owner=${{ secrets.GG_ISSUES_USER }} --issues-repo=${{ secrets.GG_ISSUES_REPO }} --type=${{ secrets.GG_TYPE }} --issues-state=${{ secrets.GG_ISSUES_STATE }}
2222
- run: yarn reconf
2323
- run: yarn build
2424
- run: yarn copy

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@
5454
},
5555
"devDependencies": {
5656
"@types/body-scroll-lock": "^3.1.0",
57-
"rgd": "^2.0.4"
57+
"rgd": "^2.0.5"
5858
}
5959
}

scripts/reconf.js

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,21 @@ cname: <CNAME>
2424
2525
### website ###
2626
website:
27-
# size: 40x40
28-
logo: <log_url>
27+
# size: 240x240 png
28+
logo: <logo_url>
2929
title: <site_title>
3030
description: <site_description>
31+
32+
### PWA Manifest ###
33+
manifest:
34+
name: <name>
35+
short_name: <short_name>
36+
start_url: /
37+
background_color: <background_color>
38+
theme_color: <theme_color>
39+
display: standalone
40+
# size: 240x240 png
41+
icon: <icon_url>
3142
\`\`\`
3243
`);
3344
process.exit();
@@ -106,7 +117,6 @@ function pkgUpdate() {
106117
} else {
107118
pkg.scripts.posts = `yarn post:base --owner=${rgdConf.owner} --repo=${rgdConf.repo}`;
108119
}
109-
110120
fs.writeFile('package.json', JSON.stringify(pkg, null, 2), (err) => {
111121
if (err) return;
112122
console.log(chalk.gray`[init]`, chalk.yellow`package.json`);

0 commit comments

Comments
 (0)