Skip to content

Commit

Permalink
Fixed path to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Jun 4, 2024
1 parent b258e8f commit b3dfb5a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
project:
description: 'Project to release'
required: true
default: 'pytest-itde'
default: 'pytest-saas'
type: choice
options:
- "pytest-saas"
Expand Down Expand Up @@ -35,15 +35,17 @@ jobs:

- name:
run: |
TAG="${{ inputs.project }}-${{ inputs.version }}"
just release ${{ inputs.project }}
just release ${PROJECT}
gh release create ${TAG} \
--title ${TAG} \
--notes-file ./${{ inputs.project }}/doc/changes/changes_${{ inputs.version }}.md \
--notes-file ./${PROJECT}/doc/changes/changes_${VERSION}.md \
--latest \
--target main \
dist/*
${PROJECT}/dist/*
env:
TAG: "${{ inputs.project }}-${{ inputs.version }}"
PROJECT: "${{ inputs.project }}"
VERSION: "${{ inputs.version }}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
POETRY_HTTP_BASIC_PYPI_USERNAME: "__token__"
POETRY_HTTP_BASIC_PYPI_PASSWORD: "${{ secrets.PYPI_TOKEN }}"

0 comments on commit b3dfb5a

Please sign in to comment.