Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.

Commit e5e63b0

Browse files
committed
#2 CD deployment on github-pages
1 parent 8305770 commit e5e63b0

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/cd.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: DeterminateSystems/nix-installer-action@main
11+
- run: nix build
12+
- uses: actions/upload-pages-artifact@v3
13+
with: { path: result }
14+
deploy:
15+
needs: build
16+
permissions:
17+
pages: write
18+
id-token: write
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/deploy-pages@v4
25+
id: deployment

public/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)