Skip to content

Merge pull request #1868 from StatCan/fix-alt-images #208

Merge pull request #1868 from StatCan/fix-alt-images

Merge pull request #1868 from StatCan/fix-alt-images #208

Workflow file for this run

name: Publish
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
sudo apt-get install --yes jq curl wget
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build
run: |
mkdocs build -c -f mkdocs-en.yml
mkdocs build -c -f mkdocs-fr.yml
bash build-dev-docs.sh
mkdocs build -c -f mkdocs-dev.yml
cp docs/index.html site/
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"