Skip to content

Updating ci.yml

Updating ci.yml #56

Workflow file for this run

name: build and deploy
on:
push:
branches:
- docs
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Dependencies
run: |
pip install -r requirements.txt
- name: Build MkDocs
run: |
mkdocs build
- name: Copy CNAME file
run: |
cp CNAME ./site/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GH_TOKEN }}
publish_dir: ./site