Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust mkdocs-insiders version #390

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- master
schedule:
- cron: '30 1 * * *'
- cron: "30 1 * * *"
workflow_dispatch:

permissions:
Expand All @@ -23,8 +23,8 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
python-version: "3.10"
cache: "pip"

- name: Install Python requirements
run: pip install -r requirements.txt
Expand Down Expand Up @@ -78,6 +78,6 @@ jobs:
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
clean: true
folder: site
branch: gh-pages
clean: true
folder: site
24 changes: 23 additions & 1 deletion .github/workflows/lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]

test-build:
test-simple-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -33,3 +33,25 @@ jobs:
run: mkdocs build
env:
DEFAULT_LANGUAGE_ONLY: true

test-insiders-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"

- name: Install Python requirements
run: pip install -r requirements.txt

- name: Install Python requirements insiders
run: pip install -r requirements-insiders.txt
env:
MKDOCS_INSIDERS_TOKEN: ${{ secrets.MKDOCS_INSIDERS_TOKEN }}

- name: Build documentation
run: mkdocs build
env:
DEFAULT_LANGUAGE_ONLY: true
2 changes: 1 addition & 1 deletion requirements-insiders.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
git+https://${MKDOCS_INSIDERS_TOKEN}@github.com/opengisch/mkdocs-material-insiders@425df60910d649d80505851dc2fd3d240cd65e73#egg=mkdocs-material
git+https://${MKDOCS_INSIDERS_TOKEN}@github.com/opengisch/mkdocs-material-insiders@458242c58db8e47ee5a51cd7c8853d7ff40567ab#egg=mkdocs-material
Loading