Skip to content

clean codes

clean codes #84

Workflow file for this run

name: Deploy to GitHub Pages
permissions:
contents: write
pages: write
on:
push:
branches: [ "main", "master" ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
init-shell: >-
bash
cache-environment: true
create-args: r-base r-arrow
- name: Install Dependencies
run: |
set -ux
# pip install -Uq nbdev
test -f setup.py && pip install -e ".[dev]"
nbdev_docs
shell: bash -el {0}
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true
publish_dir: ./_docs
# The following lines assign commit authorship to the official GH-Actions bot for deploys to `gh-pages` branch.
# You can swap them out with your own user credentials.
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com
# - uses: fastai/workflows/quarto-ghp@master
# with:
# version: "3.10"