Skip to content

Commit

Permalink
workflow for pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Acepie committed Apr 20, 2024
1 parent 72fc07f commit 7207db6
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/test.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test
name: ci

on:
push:
Expand All @@ -21,3 +21,14 @@ jobs:
- run: gleam deps download
- run: gleam test
- run: gleam format --check src test
- run: gleam run -m esgleam/bundle
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: "./dist"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 7207db6

Please sign in to comment.