-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (33 loc) · 974 Bytes
/
deploy.yaml
File metadata and controls
38 lines (33 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: cachix/install-nix-action@v30
with:
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
extra_nix_config: |
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v15
with:
name: iohk
- uses: cachix/cachix-action@v15
with:
name: tinybeachthor
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- name: Build generator
run: nix build
- name: Build blog
run: ./result/bin/blog4
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.7.3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: docs