File tree Expand file tree Collapse file tree 2 files changed +7
-18
lines changed
Expand file tree Collapse file tree 2 files changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -20,36 +20,25 @@ jobs:
2020 build :
2121 runs-on : ubuntu-latest
2222 steps :
23- - name : Checkout
23+ - name : Checkout your repository using git
2424 uses : actions/checkout@v4
2525 with :
2626 submodules : recursive
2727 fetch-depth : 0
2828
29- - name : Setup Bun
30- uses : oven-sh/setup-bun@v2
29+ - name : Install, build, and upload your site
30+ uses : withastro/action@v3
3131 with :
32- bun-version : latest
33-
34- - name : Install dependencies
35- run : bun install
36-
37- - name : Build
38- run : bun run build
32+ package-manager : bun@latest
3933 env :
4034 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
4135
42- - name : Upload artifact
43- uses : actions/upload-pages-artifact@v3
44- with :
45- path : ./dist
46-
4736 deploy :
37+ needs : build
38+ runs-on : ubuntu-latest
4839 environment :
4940 name : github-pages
5041 url : ${{ steps.deployment.outputs.page_url }}
51- runs-on : ubuntu-latest
52- needs : build
5342 steps :
5443 - name : Deploy to GitHub Pages
5544 id : deployment
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import markdoc from '@astrojs/markdoc';
1111// https://astro.build/config
1212export default defineConfig ( {
1313 site : 'https://zig-index.github.io/website' ,
14- base : '/website/ ' ,
14+ base : '/website' ,
1515 output : 'static' ,
1616
1717 integrations : [
You can’t perform that action at this time.
0 commit comments