Skip to content

Commit

Permalink
Merge pull request #316 from codaqui/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
endersonmenezes authored Oct 1, 2024
2 parents 2cde2a8 + 4e69ae0 commit e39ac13
Showing 1 changed file with 10 additions and 11 deletions.
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

0 comments on commit e39ac13

Please sign in to comment.