Skip to content

Commit 0172801

Browse files
committed
chore:update dependencies
1 parent 461ccf8 commit 0172801

File tree

2 files changed

+224
-188
lines changed

2 files changed

+224
-188
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
3+
name: Generate and publish documentation
4+
5+
on:
6+
release:
7+
types: [published]
8+
workflow_dispatch:
9+
10+
jobs:
11+
publish_documentation:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
environment:
16+
name: pypi
17+
url: https://pypi.org/p/fakeredis
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Set up Python
21+
uses: actions/setup-python@v5
22+
with:
23+
python-version: "3.11"
24+
- name: Configure Git Credentials
25+
run: |
26+
git config user.name github-actions[bot]
27+
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
28+
- name: Publish documentation
29+
env:
30+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
32+
run: |
33+
pip install -r docs/requirements.txt
34+
mkdocs gh-deploy --force
35+
mkdocs --version

0 commit comments

Comments
 (0)