new level (#96) #250
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
on: | |
- push | |
- pull_request | |
jobs: | |
build_and_publish_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2.3.4 | |
- name: Install Racket | |
uses: Bogdanp/setup-racket@v1.3.1 | |
with: | |
architecture: 'x64' | |
distribution: 'full' | |
version: '8.1' | |
dest: '"${HOME}/racketdist"' | |
local_catalogs: $GITHUB_WORKSPACE | |
sudo: never | |
- name: Register local packages | |
run: | | |
raco pkg install -i --auto --no-setup --skip-installed sketching sketching-lib sketching-doc noise | |
raco pkg update --auto --no-setup sketching sketching-lib sketching-doc | |
- name: Setup Collections | |
run: raco setup --check-pkg-deps sketching | |
- name: Build documentation using raco setup | |
run: | | |
xvfb-run -a raco setup --jobs 1 sketching-doc | |
- name: Build documentation with raco scribble | |
run: | | |
pwd | |
ls -r * | |
xvfb-run -a raco scribble +m --redirect-main http://pkg-build.racket-lang.org/doc/ --htmls --dest ./htmls sketching-doc/sketching-doc/manual-sketching.scrbl | |
- name: Push to Github Pages | |
uses: JamesIves/github-pages-deploy-action@4.1.4 | |
with: | |
folder: htmls/manual-sketching | |
branch: gh-pages |