My personal website.
1# Mostly copied from the Wisp docs: https://docs.wisp.place/cli/#cicd-integration
2
3when:
4 - event: ['push']
5 branch: ['main']
6 - event: ['manual']
7
8engine: 'nixery'
9
10dependencies:
11 nixpkgs:
12 - coreutils
13 - curl
14 - racket
15
16steps:
17 - name: build site
18 command: |
19 scribble --dest dist index.scrbl resume.scrbl
20
21 - name: deploy to wisp
22 command: |
23 # Download Wisp CLI
24 curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli
25 chmod +x wisp-cli
26
27 # Deploy to Wisp
28 ./wisp-cli \
29 "notjack.space" \
30 --path "dist" \
31 --site "site" \
32 --password "$WISP_APP_PASSWORD"