File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change 11on :
22 - push
33
4+ name : Build and Deploy
5+
46jobs :
5- build-and-test :
7+ build :
68 runs-on : ubuntu-latest
79 steps :
810 - name : Checkout
@@ -15,12 +17,12 @@ jobs:
1517 sudo apt-get install fonts-stix
1618 sudo apt-get install libunistring-dev
1719 - name : Install Racket
18- uses : Bogdanp/setup-racket@v1.11
20+ uses : Bogdanp/setup-racket@v1.14
1921 with :
2022 architecture : ' x64'
2123 distribution : ' full'
2224 variant : ' CS'
23- version : ' 8.14 '
25+ version : ' 8.18 '
2426 - name : Install a86 and langs
2527 run : |
2628 git clone https://github.com/cmsc430/a86.git
@@ -33,13 +35,21 @@ jobs:
3335 # raco pkg install --auto www/
3436 raco make www/main.scrbl
3537 make -C www main
36- - name : Archive www
38+ - name : Upload www for GitHub Pages
3739 uses : actions/upload-pages-artifact@v3
3840 with :
3941 name : github-pages
4042 path : www/main
41- deploy :
42- needs : build-and-test
43+ - name : Upload www as artifact
44+ uses : actions/upload-artifact@v4
45+ with :
46+ name : site-static
47+ path : www/main
48+ if-no-files-found : error
49+ retention-days : 7
50+
51+ deploy-github-pages :
52+ needs : build
4353 permissions :
4454 pages : write
4555 id-token : write
You can’t perform that action at this time.
0 commit comments