Skip to content

Bump jinja2 from 3.0.0 to 3.1.3 #103

Bump jinja2 from 3.0.0 to 3.1.3

Bump jinja2 from 3.0.0 to 3.1.3 #103

Workflow file for this run

name: Build Mkdocs
on:
push:
branches: [ master ]
tags: [ '*' ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install git+https://${{ secrets.MK_TOKEN }}@github.com/squidfunk/[email protected]
- name: Build mkdocs
run: mkdocs build
- name: Deploy mkdocs
if: github.event_name != 'pull_request'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_SLUG: ${{ github.repository }}
run: |
git config user.name "Kodular Bot"
git config user.email "[email protected]"
git remote add gh-token "https://KodularCreator:[email protected]/$REPO_SLUG.git"
git fetch gh-token && git fetch gh-token gh-pages:gh-pages
mkdocs gh-deploy -v --clean --remote-name gh-token