File tree Expand file tree Collapse file tree 5 files changed +96
-98
lines changed
Expand file tree Collapse file tree 5 files changed +96
-98
lines changed Original file line number Diff line number Diff line change 1- name : Dispatch to summit.g0v.tw
2-
3- on :
4- push :
5- branches : [ production ]
6-
7- jobs :
8- dispatch :
9- runs-on : ubuntu-latest
10- steps :
11- - name : Repository Dispatch
12- uses : peter-evans/repository-dispatch@v3
13- with :
14- token : ${{ secrets.GHA_WORKFLOW_TRIGGER }}
15- repository : g0v/summit.g0v.tw
16- event-type : update
1+ name : Dispatch to summit.g0v.tw
2+
3+ on :
4+ push :
5+ branches : [production]
6+
7+ jobs :
8+ dispatch :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Repository Dispatch
12+ uses : peter-evans/repository-dispatch@v3
13+ with :
14+ token : ${{ secrets.GHA_WORKFLOW_TRIGGER }}
15+ repository : g0v/summit.g0v.tw
16+ event-type : update
Original file line number Diff line number Diff line change 1- name : Deploy to GitHub Pages
2-
3- on :
4- push :
5- branches : [main]
6- workflow_dispatch :
7-
8- permissions :
9- contents : read
10- pages : write
11- id-token : write
12-
13- concurrency :
14- group : ' pages'
15- cancel-in-progress : true
16-
17- jobs :
18- build :
19- runs-on : ubuntu-latest
20- steps :
21- - name : Checkout your repository using git
22- uses : actions/checkout@v5
23- - name : Install, build, and upload your site
24- uses : withastro/action@v5
25-
26- deploy :
27- needs : build
28- runs-on : ubuntu-latest
29- environment :
30- name : github-pages
31- url : ${{ steps.deployment.outputs.page_url }}
32- steps :
33- - name : Deploy to GitHub Pages
34- id : deployment
35- uses : actions/deploy-pages@v4
1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [main]
6+ workflow_dispatch :
7+
8+ permissions :
9+ contents : read
10+ pages : write
11+ id-token : write
12+
13+ concurrency :
14+ group : ' pages'
15+ cancel-in-progress : true
16+
17+ jobs :
18+ build :
19+ runs-on : ubuntu-latest
20+ steps :
21+ - name : Checkout your repository using git
22+ uses : actions/checkout@v5
23+ - name : Install, build, and upload your site
24+ uses : withastro/action@v5
25+
26+ deploy :
27+ needs : build
28+ runs-on : ubuntu-latest
29+ environment :
30+ name : github-pages
31+ url : ${{ steps.deployment.outputs.page_url }}
32+ steps :
33+ - name : Deploy to GitHub Pages
34+ id : deployment
35+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 1- # g0v Summit 2026
2-
3- ## 技術
4-
5- - Astro
6- - TailwindCSS
7- - JQuery
8-
9- ## 開發
10-
11- ```
12- npm i
13- npm run dev
14- ```
15-
16- GitHub action 根據 main branch 更新,作為 staging site
17-
18- https://g0v.github.io/summit2026/
19-
20- ## 貢獻
21-
22- 本專案由 g0v summit 2026 宣傳組—網站小組負責維護,歡迎透過 [ issue] ( https://github.com/g0v/summit2026/issues ) 提出問題與建議,也歡迎提出 PR
23-
24- ## 部署
25-
26- ` ./deploy `
27- 會自動將 dist 下的檔案推送到 production branch,並透過 repository dispatch 觸發 [ summit repo] ( https://github.com/g0v/summit.g0v.tw ) 更新 submodules
28- 目前是使用網站組小組長 SeanGau 的 Token
1+ # g0v Summit 2026
2+
3+ ## 技術
4+
5+ - Astro
6+ - TailwindCSS
7+ - JQuery
8+
9+ ## 開發
10+
11+ ```
12+ npm i
13+ npm run dev
14+ ```
15+
16+ GitHub action 根據 main branch 更新,作為 staging site
17+
18+ https://g0v.github.io/summit2026/
19+
20+ ## 貢獻
21+
22+ 本專案由 g0v summit 2026 宣傳組—網站小組負責維護,歡迎透過 [ issue] ( https://github.com/g0v/summit2026/issues ) 提出問題與建議,也歡迎提出 PR
23+
24+ ## 部署
25+
26+ ` ./deploy `
27+ 會自動將 dist 下的檔案推送到 production branch,並透過 repository dispatch 觸發 [ summit repo] ( https://github.com/g0v/summit.g0v.tw ) 更新 submodules
28+ 目前是使用網站組小組長 SeanGau 的 Token
Original file line number Diff line number Diff line change 11{
2- "extends" : " astro/tsconfigs/strict" ,
3- "compilerOptions" : {
4- "strict" : false ,
5- "checkJs" : false ,
6- "baseUrl" : " ." ,
7- "paths" : {
8- "~/*" : [
9- " src/*"
10- ],
11- }
2+ "extends" : " astro/tsconfigs/strict" ,
3+ "compilerOptions" : {
4+ "strict" : false ,
5+ "checkJs" : false ,
6+ "baseUrl" : " ." ,
7+ "paths" : {
8+ "~/*" : [" src/*" ]
129 }
13- }
10+ }
11+ }
Original file line number Diff line number Diff line change 1- @import " tailwindcss" ;
1+ @import ' tailwindcss' ;
22@theme {
33 --text-base : 18px ;
44 --font-sans : Onest, 'Noto Sans TC' , sans-serif;
55 --font-serif : Amarna, 'LXGW WenKai TC' , serif;
6- --color-brand : # F25549 ;
7- --color-primary : # DF6258 ;
8- --color-primary-dark : # 9E3027 ;
9- --color-primary-light : # FF8F86 ;
10- --color-info : # 3C89C2 ;
6+ --color-brand : # f25549 ;
7+ --color-primary : # df6258 ;
8+ --color-primary-dark : # 9e3027 ;
9+ --color-primary-light : # ff8f86 ;
10+ --color-info : # 3c89c2 ;
1111 --color-info-dark : # 195078 ;
12- --color-info-light : # A1D7FF ;
13- }
12+ --color-info-light : # a1d7ff ;
13+ }
You can’t perform that action at this time.
0 commit comments