Skip to content

Add "Attach email template"article #41

Add "Attach email template"article

Add "Attach email template"article #41

Workflow file for this run

name: deploy-blog
# Only run this when the master branch changes
on:
pull_request:
push:
branches:
- master
workflow_dispatch:
# This job installs dependencies, build the blog, and pushes it to `gh-pages`
jobs:
deploy-blog:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
# Install dependencies
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install -r requirements.txt
# Build the blog
- name: Build the site
run: |
make html
# If we've pushed to main, push the blog's HTML to github-pages
- if: ${{ github.ref == 'refs/heads/master' }}
name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html