cn char for first..thenth #402
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: main | |
on: | |
push: | |
branches: | |
- "dev" | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
racket-version: ["stable"] | |
racket-variant: ["CS"] | |
name: main | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: Bogdanp/[email protected] | |
with: | |
architecture: x64 | |
distribution: full | |
variant: ${{ matrix.racket-variant }} | |
version: ${{ matrix.racket-version }} | |
- name: Installing pkgs | |
run: raco pkg install --no-docs --auto --name ming | |
- name: Compiling and building its docs | |
run: raco setup --check-pkg-deps --unused-pkg-deps ming | |
- name: build docs | |
run: | | |
raco scribble --htmls \ | |
--dest-name doc \ | |
++main-xref-in \ | |
--redirect-main https://docs.racket-lang.org/ \ | |
--redirect https://docs.racket-lang.org/local-redirect/index.html \ | |
scribblings/ming.scrbl | |
# ++extra private/scribble-styles/css/SourceHanSansCNX-Regular.woff2 \ | |
# --redirect ~/racket/doc/local-redirect/index.html \ | |
# --redirect-main ~/racket/doc/index.html \ | |
- name: Deploy to GitHub Pages | |
if: success() | |
uses: crazy-max/[email protected] | |
with: | |
target_branch: gh-pages | |
build_dir: doc | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |