From f450b961bb9e0948c7d764ddfa6128afca76be5c Mon Sep 17 00:00:00 2001 From: Antony Nevis Date: Sat, 6 Apr 2024 16:08:12 +1100 Subject: [PATCH] Pass TWINE credentials to CD --- .github/workflows/cd.yaml | 3 +++ README.md | 2 +- devbox.json | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index aa675fe..b854bea 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -27,4 +27,7 @@ jobs: run: devbox run build - name: 🚀 Publish to PyPI run: devbox run publish + env: + TWINE_USERNAME: ${{ variables.TWINE_USERNAME }} + TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} - run: echo "🍏 This job's status is ${{ job.status }}." diff --git a/README.md b/README.md index ca6cb39..d185720 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# JSON to Markdown Converter +# YAML to Markdown Converter A Python utility to take a JSON / YAML file or a python dict / list and create a Markdown file. diff --git a/devbox.json b/devbox.json index 0eb4883..e44ff0c 100644 --- a/devbox.json +++ b/devbox.json @@ -2,7 +2,7 @@ "$schema": "https://raw.githubusercontent.com/jetpack-io/devbox/0.10.3/.schema/devbox.schema.json", "packages": ["python@3.12.2"], "env": { - "VENV_DIR": "$HOME/MyFiles/programming/OpenSource/json-to-markdown/.devbox/virtenv/python/.venv" + "VENV_DIR": "$HOME/MyFiles/programming/OpenSource/yaml-to-markdown/.devbox/virtenv/python/.venv" }, "shell": { "init_hook": [