This repository has been archived by the owner on Nov 7, 2024. It is now read-only.
Site updates on themes and configuration #318
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing | |
on: | |
# Run jobs on any Pull Request activity | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- synchronize | |
- ready_for_review | |
jobs: | |
pre_commit: | |
name: Run pre-commit validation hooks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- uses: pre-commit/[email protected] | |
# vale: | |
# name: runner / vale | |
# needs: pre_commit | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - uses: errata-ai/vale-action@reviewdog | |
# env: | |
# # Required, set by GitHub actions automatically: | |
# # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret | |
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
# with: | |
# files: workshops/ | |
test_build: | |
name: Build site with no warnings | |
needs: pre_commit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
##### Install required Python Modules and build the website ##### | |
- run: pip install -r requirements.txt | |
- run: pip install git+https://${{ secrets.MKDOCS_INSIDER_TOKEN }}@github.com/squidfunk/[email protected] | |
- run: mkdocs build --strict |