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

Develop #316

Merged
merged 4 commits into from
Oct 1, 2024
Merged
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
21 changes: 10 additions & 11 deletions .github/workflows/gh-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,7 @@ jobs:
python-version: [ 3.11 ]

steps:
- uses: actions/checkout@v3

- name: Checkout private tools
uses: actions/checkout@v3
with:
repository: squidfunk/mkdocs-material-insiders
token: ${{ secrets.GH_TOKEN_MKDOCS }}
path: mkdocs-material-insider
- uses: actions/checkout@v4

- name: Some check on branch
id: branch_check
Expand All @@ -34,22 +27,28 @@ jobs:
fi

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache

- name: Install requirements
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_MKDOCS }}
run: |
# Git Clone with GH
gh repo clone squidfunk/mkdocs-material-insiders

# Install
sudo apt-get install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
python3 -m pip install -U pip
python3 -m pip install -r requirements.txt
python3 -m pip install -e mkdocs-material-insider
python3 -m pip install -e mkdocs-material-insiders

- name: Deploy mkdocs 🚀
run: python3 -m mkdocs gh-deploy --force --remote-branch ${{ steps.branch_check.outputs.env_name }}
Expand Down
Loading