test push
This commit is contained in:
@@ -1,23 +1,34 @@
|
|||||||
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
|
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
|
||||||
|
|
||||||
|
# on:
|
||||||
|
# workflow_dispatch:
|
||||||
|
# inputs:
|
||||||
|
# branch_name:
|
||||||
|
# description: 'Branch to build from (default is main)'
|
||||||
|
# required: false
|
||||||
|
# default: 'main'
|
||||||
|
# workflow_run:
|
||||||
|
# workflows: ["Run Tests"]
|
||||||
|
# types:
|
||||||
|
# - completed
|
||||||
|
# branches: [main, develop] # This ensures it only triggers for these branches
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- develop
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
branch_name:
|
branch_name:
|
||||||
description: 'Branch to build from (default is main)'
|
description: 'Branch to build from (default is main)'
|
||||||
required: false
|
required: false
|
||||||
default: 'main'
|
default: 'main'
|
||||||
workflow_run:
|
|
||||||
workflows: ["Run Tests"] # Ensure this matches the name of your testing workflow
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
branches: [main, develop] # This ensures it only triggers for these branches
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TestPyPI_URL: https://test.pypi.org/p/scraibe
|
TestPyPI_URL: https://test.pypi.org/p/scraibe
|
||||||
PyPI_URL: https://pypi.org/p/scraibe
|
PyPI_URL: https://pypi.org/p/scraibe
|
||||||
PyPI_DEV_URL: https://pypi.org/p/scraibe-nightly
|
PyPI_DEV_URL: https://pypi.org/p/scraibe-nightly
|
||||||
|
ISRELEASED: true
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in New Issue
Block a user