Added 1.18 #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@master | |
- name: Racket action | |
uses: Bogdanp/setup-racket@v1.11 | |
with: | |
architecture: 'x64' | |
distribution: 'full' | |
variant: 'CS' | |
version: 'stable' | |
- name: Install sicp language | |
run: raco pkg install sicp | |
- name: TeX support for scribble | |
run: raco pkg install scribble-math | |
- name: Build the site | |
run: scribble --htmls ++xref-in setup/xref load-collections-xref --redirect-main "https://docs.racket-lang.org/" --dest build/ src/scribble/sicp.scrbl | |
- name: Publish generated content to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: build/sicp |