File tree Expand file tree Collapse file tree 2 files changed +44
-2
lines changed Expand file tree Collapse file tree 2 files changed +44
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Deploy to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ workflow_dispatch :
8
+
9
+ permissions :
10
+ contents : read
11
+ pages : write
12
+ id-token : write
13
+
14
+ jobs :
15
+ build :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v4
19
+ - uses : withastro/action@v3
20
+ with :
21
+ path : .
22
+ node-version : 22
23
+ # `package-manager` option is determined by `packageManager` in `package.json`
24
+
25
+ deploy :
26
+ needs : build
27
+ runs-on : ubuntu-latest
28
+ environment :
29
+ name : github-pages
30
+ url : ${{ steps.deployment.outputs.page_url }}
31
+ steps :
32
+ - id : deployment
33
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
2
import { defineConfig } from "astro/config" ;
3
3
4
- // https://astro.build/config
5
- export default defineConfig ( { } ) ;
4
+ export default defineConfig ( {
5
+ site : "https://gocon.github.io" ,
6
+ base : "/2025" ,
7
+ i18n : {
8
+ defaultLocale : "ja" ,
9
+ locales : [ "ja" ] ,
10
+ routing : {
11
+ prefixDefaultLocale : false ,
12
+ } ,
13
+ } ,
14
+ } ) ;
You can’t perform that action at this time.
0 commit comments