From 509b12cd97942f75690a7b17eadb5e1012b220b0 Mon Sep 17 00:00:00 2001 From: Yeicor <4929005+Yeicor@users.noreply.github.com> Date: Sun, 10 Mar 2024 18:16:34 +0100 Subject: [PATCH] fix CI deployment 8 --- .github/workflows/deploy1.yml | 3 ++- .github/workflows/deploy2.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy1.yml b/.github/workflows/deploy1.yml index 93ce230..c8b2eec 100644 --- a/.github/workflows/deploy1.yml +++ b/.github/workflows/deploy1.yml @@ -51,8 +51,9 @@ jobs: exit 1 fi - rebuild: # Makes sure all artifacts are updated and use the new version for the next deployment steps + deploy: # Makes sure all artifacts are updated and use the new version for the next deployment steps needs: "update-versions" uses: "./.github/workflows/deploy2.yml" + secrets: "inherit" # Inherit the secrets from the parent workflow with: ref: "master" # Ensure we are cloning the latest version of the repository diff --git a/.github/workflows/deploy2.yml b/.github/workflows/deploy2.yml index e397791..3b438b3 100644 --- a/.github/workflows/deploy2.yml +++ b/.github/workflows/deploy2.yml @@ -71,7 +71,7 @@ jobs: - uses: "actions/checkout@v4" with: ref: "${{ inputs.ref }}" - - uses: "JRubics/poetry-publish@v2" + - uses: "JRubics/poetry-publish@v2.0" with: python-version: "3.11" pypi_token: "${{ secrets.PYPI_TOKEN }}"