Simple app to add configuration options to a Django project.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: add publish on tag

+58
+29
.github/workflows/job-build-publish.yml
··· 1 + name: Job - Build and publish 2 + 3 + on: 4 + workflow_call: 5 + inputs: 6 + project: 7 + required: true 8 + type: string 9 + secrets: 10 + PYPI_API_KEY: 11 + required: true 12 + description: "API key to upload the package to PyPI." 13 + 14 + jobs: 15 + build_and_publish: 16 + runs-on: ubuntu-latest 17 + steps: 18 + - uses: actions/checkout@v3 19 + - name: Set up Python 3.11 20 + uses: actions/setup-python@v4 21 + with: 22 + python-version: "3.11" 23 + cache: "poetry" 24 + - name: Install poetry 25 + run: curl -sSL https://install.python-poetry.org | python - 26 + - name: Config poetry 27 + run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}" 28 + - name: Publish package 29 + run: poetry publish --build
+29
.github/workflows/workflow-push-tags.yml
··· 1 + name: Workflow - Push tags 2 + 3 + on: 4 + push: 5 + tags: 6 + - v* 7 + 8 + jobs: 9 + lint_and_test: 10 + uses: ./.github/workflows/job-lint-test.yml 11 + with: 12 + project: options 13 + 14 + release_version: 15 + runs-on: ubuntu-latest 16 + outputs: 17 + version: ${{ steps.git_tags.outputs.version }} 18 + steps: 19 + - id: git_tags 20 + run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT 21 + 22 + build_and_publish: 23 + needs: [lint_and_test, release_version] 24 + uses: ./.github/workflows/job-build-publish.yml 25 + with: 26 + project: options 27 + secrets: 28 + PYPI_API_KEY: ${{ secrets.PYPI_API_KEY }} 29 +