File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Website
2+
3+ permissions : {}
4+
5+ defaults :
6+ run :
7+ shell : bash
8+
9+ on :
10+ push :
11+ branches :
12+ - main
13+ paths :
14+ - " website/**"
15+ workflow_dispatch :
16+
17+ concurrency :
18+ group : pages
19+ cancel-in-progress : false
20+
21+ jobs :
22+ deploy :
23+ name : Deploy
24+ timeout-minutes : 10
25+ runs-on : ubuntu-latest
26+ defaults :
27+ run :
28+ working-directory : website
29+ permissions :
30+ contents : read
31+ pages : write # for actions/deploy-pages
32+ id-token : write # for actions/deploy-pages
33+ environment :
34+ name : github-pages
35+ url : ${{ steps.deploy.outputs.page_url }}
36+ steps :
37+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
38+ with :
39+ persist-credentials : false
40+ - uses : oven-sh/setup-bun@3d267786b128fe76c2f16a390aa2448b815359f3 # v2.1.2
41+ - run : bun install --frozen-lockfile
42+ - run : bun run build
43+ - uses : actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
44+ with :
45+ path : website/dist
46+ - id : deploy
47+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
You can’t perform that action at this time.
0 commit comments