File tree Expand file tree Collapse file tree 1 file changed +26
-20
lines changed
Expand file tree Collapse file tree 1 file changed +26
-20
lines changed Original file line number Diff line number Diff line change @@ -24,32 +24,38 @@ concurrency:
2424 cancel-in-progress : true
2525
2626jobs :
27+ # Single deploy job since we're just deploying
2728 build :
29+ name : Building and Deploying
30+ environment :
31+ name : github-pages
32+ url : ${{ steps.deployment.outputs.page_url }}
2833 runs-on : ubuntu-latest
29-
3034 steps :
31- - name : Checkout repository
32- uses : actions/checkout@v4
33-
34- - name : Setup Nix
35- uses : cachix/install-nix-action@v27
36-
37- - name : Build site
38- run : nix build
39-
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
4054 - name : Upload artifact
4155 uses : actions/upload-pages-artifact@v3
4256 with :
43- path : result # Ensure this is the correct output directory
44-
45- deploy :
46- needs : build
47- runs-on : ubuntu-latest
48- environment :
49- name : github-pages
50- url : ${{ steps.deployment.outputs.page_url }}
51-
52- steps :
57+ # Upload ./output only
58+ path : ' ./output'
5359 - name : Deploy to GitHub Pages
5460 id : deployment
5561 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments