Skip to content

Commit

Permalink
uv testing: trying .git-credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
aceat64 committed Aug 23, 2024
1 parent 10adc0e commit 19217ca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,15 @@ jobs:
uv-${{ runner.os }}-${{ hashFiles('uv.lock') }}
uv-${{ runner.os }}
- uses: extractions/netrc@v1
with:
machine: github.com
username: github
password: ${{ secrets.GH_TOKEN }}

# - name: Install the project
# run: uv sync --all-extras --dev
# Insiders is the sponsorware version of Material for MkDocs
# https://squidfunk.github.io/mkdocs-material/insiders/
- name: Configure auth for Insiders
run: |
echo "https://github:${{ secrets.GITHUB_TOKEN }}@github.com" >> $HOME/.git-credentials
git config --global credential.helper store
- name: Install the project
run: uv sync --all-extras --dev

# The .cache directory is used for 3rd party assets, as part of the privacy plugin.
# It is also used to cache the generated social media cards.
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.cache/
.mypy_cache/
site/
.venv/
.venv/
website.egg-info/
4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ classifiers = ["Framework :: MkDocs"]
requires-python = ">=3.12"
dependencies = []

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.uv]
dev-dependencies = [
"mkdocs-material",
Expand Down

0 comments on commit 19217ca

Please sign in to comment.