File tree Expand file tree Collapse file tree 1 file changed +15
-25
lines changed
Expand file tree Collapse file tree 1 file changed +15
-25
lines changed Original file line number Diff line number Diff line change @@ -26,36 +26,26 @@ concurrency:
2626jobs :
2727 # Single deploy job since we're just deploying
2828 build :
29- name : Building and Deploying
30- environment :
31- name : github-pages
32- url : ${{ steps.deployment.outputs.page_url }}
3329 runs-on : ubuntu-latest
30+
3431 steps :
35- - uses : actions/checkout@master
36- - uses : Bogdanp/setup-racket@v1.11
37- with :
38- architecture : ' x64'
39- distribution : ' full'
40- variant : ' CS'
41- version : ' 8.11'
42- - uses : actions/cache@v4
43- with :
44- path : |
45- ~/.cache/racket
46- ~/.local/share/racket
47- key : ${{ runner.os }}-racket-current-${{ hashFiles('.racket-version') }}
48- - run : raco pkg install --auto --skip-installed pollen string-interpolation
49- - run : mkdir output
50- - run : raco pollen render
51- - run : cp -r assets *.html *.css *.js output
52- - name : Setup Pages
53- uses : actions/configure-pages@v2
32+ - name : Checkout repository
33+ uses : actions/checkout@v4
34+
35+ - name : Setup Nix
36+ uses : cachix/install-nix-action@v27
37+
38+ - name : Build site
39+ run : nix build
40+
5441 - name : Upload artifact
5542 uses : actions/upload-pages-artifact@v3
5643 with :
57- # Upload ./output only
58- path : ' ./output'
44+ path : result
45+
46+ deploy :
47+ needs : build
48+ runs-on : ubuntu-latest
5949 - name : Deploy to GitHub Pages
6050 id : deployment
6151 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments