Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Dec 24, 2024
1 parent e2cf07a commit ad434c5
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Build demo
name: Publish on GitHub Pages

on:
push:
branches: [ main ]
branches: [main]

permissions:
contents: read
Expand All @@ -19,8 +19,18 @@ jobs:

- name: Setup Deno environment
uses: denoland/setup-deno@v2

- name: Build site
run: deno task build --location=https://lumeland.github.io/theme-ebook

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
deno-version: v2.x
path: "_site"

- name: Build GitHub Pages with Lume
uses: lumeland/build/gh-pages@main
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit ad434c5

Please sign in to comment.