diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 888adcf..5281f08 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,5 +1,8 @@ name: main +env: + GITLAB_PYPI_TOKEN: ${{ secrets.GITLAB_PYPI_TOKEN }} + on: push: branches: diff --git a/pyproject.toml b/pyproject.toml index d76cefb..214042d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,5 +41,5 @@ convention = "google" [[tool.poetry.source]] name = "gitlab" -url = "https://__token__:glpat-omkU3_Mi6gnx5m81Bm7z@git.o-c.space/api/v4/projects/689/packages/pypi/simple" +url = "https://__token__:${GITLAB_PYPI_TOKEN}@git.o-c.space/api/v4/projects/689/packages/pypi/simple" default = true