Skip to content

Commit

Permalink
Add GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jezen committed Jan 27, 2024
1 parent 0b75570 commit 1e9dc81
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build and deploy to GitHub Pages
on: push

jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix-build
- run: ./result/bin/jgt rebuild

- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: _site

0 comments on commit 1e9dc81

Please sign in to comment.