File tree Expand file tree Collapse file tree 2 files changed +39
-41
lines changed
Expand file tree Collapse file tree 2 files changed +39
-41
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - main
8+
9+ jobs :
10+ # Build job
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v4
15+ - uses : denoland/setup-deno@v2
16+ with :
17+ deno-version : v2.x
18+ - run : deno install
19+ - run : deno run build
20+ - name : Upload static files as artifact
21+ id : deployment
22+ uses : actions/upload-pages-artifact@v3
23+ with :
24+ path : dist/
25+
26+ # Deployment job
27+ deploy :
28+ environment :
29+ name : github-pages
30+ url : ${{ steps.deployment.outputs.page_url }}
31+ permissions :
32+ pages : write
33+ id-token : write
34+ runs-on : ubuntu-latest
35+ needs : build
36+ steps :
37+ - name : Deploy to GitHub Pages
38+ id : deployment
39+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments