Vite
![](https://avatars.plurk.com/6843666-medium50386972.gif)
Lastor
coding 忽然發現 Vite 更新 github pages 的 deploy 方式了,現在是使用 github action
![](https://avatars.plurk.com/6843666-medium50386972.gif)
Lastor
之前 Vite 跟 Vue 的文件,在 github pages 部署這塊,是一樣的內容
![](https://avatars.plurk.com/6843666-medium50386972.gif)
Lastor
大致概念是給你一個批次檔的範例 code,跟你說原理,然用那個批次檔自動處理 build 後的 dist files,將其作為一個新的 branch dist,push 到 github
![](https://avatars.plurk.com/6843666-medium50386972.gif)
Lastor
現在的做法看起來是把那個批次檔改成 github action
![](https://avatars.plurk.com/6843666-medium50386972.gif)
Lastor
找時間來研究一下,早就想摸摸 github action 了
![](https://emos.plurk.com/d72c4cc98a9c4a530b4785c91ee1da4d_w48_h48.gif)