Skip to content

format one cross-link in variables.rst #54

format one cross-link in variables.rst

format one cross-link in variables.rst #54

Workflow file for this run

# https://github.com/rust-lang/mdBook/wiki/Automated-Deployment%3A-GitHub-Actions#github-pages-deploy
name: Render
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
render:
runs-on: ubuntu-latest
permissions:
contents: write # To push a branch
pull-requests: write # To create a PR from that branch
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v4
with:
path: "requirements.txt"
- name: make docs and cname
run: |
make html
echo 'docs.urbananalyst.city' > _build/html/CNAME
- name: Upload artifaces
uses: actions/upload-artifact@v4
with:
name: html-docs
path: _build/html/
- name: Deploy GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/html