Skip to content

Merge pull request #128 from ONSdigital/feature-s3-write-csv #49

Merge pull request #128 from ONSdigital/feature-s3-write-csv

Merge pull request #128 from ONSdigital/feature-s3-write-csv #49

name: "Deploy MkDocs to GitHub Pages"
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip3 install -e .[doc]
- name: Build the MkDocs site
run: mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN}}
publish_dir: ./site