Skip to content

Commit ad434c5

Browse files
committed
fix workflow
1 parent e2cf07a commit ad434c5

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.github/workflows/demo.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Build demo
1+
name: Publish on GitHub Pages
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66

77
permissions:
88
contents: read
@@ -19,8 +19,18 @@ jobs:
1919

2020
- name: Setup Deno environment
2121
uses: denoland/setup-deno@v2
22+
23+
- name: Build site
24+
run: deno task build --location=https://lumeland.github.io/theme-ebook
25+
26+
- name: Setup Pages
27+
uses: actions/configure-pages@v5
28+
29+
- name: Upload artifact
30+
uses: actions/upload-pages-artifact@v3
2231
with:
23-
deno-version: v2.x
32+
path: "_site"
2433

25-
- name: Build GitHub Pages with Lume
26-
uses: lumeland/build/gh-pages@main
34+
- name: Deploy to GitHub Pages
35+
id: deployment
36+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)