Skip to content

Update email_templates.md #10

Update email_templates.md

Update email_templates.md #10

name: deploy-docs
# Only run this when the main branch changes
on:
push:
branches:
- main
# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: 3.10.10
- name: Install dependencies
run: |
pip install jupyter-book
pip install sphinx-tags
- name: Build the book
run: |
rm -rf docs/_tags/*
jupyter-book build docs
- name: Push docs book HTML to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/_build/html
keep_files: true