This GitHub Action is provided by ParaPy to release ParaPy applications.
Example workflow (with recommended usage of secrets/vars usage for the different parameters):
name: Release your application
on:
workflow_dispatch:
inputs:
version:
description: 'Application version to release'
required: true
deploy:
description: 'Whether to deploy the application if the release is successful'
type: boolean
default: false
jobs:
application-release:
runs-on: ubuntu-22.04
steps:
- uses: parapydev/app-release-action
with:
parapy-pypi-username: ${{ vars.PARAPY_PYPI_USERNAME }}
parapy-pypi-password: ${{ secrets.PARAPY_PYPI_PASSWORD }}
parapy-cloud-address: "<company-parapy-cloud-address>"
service-account-identifier: ${{vars.PARAPY_SERVICE_ACCOUNT_CLIENT_ID }}
service-account-secret: ${{ secrets.PARAPY_SERVICE_ACCOUNT_SECRET }}
parapy-app-identifier: ${{ vars.PARAPY_APP_ID }}
parapy-app-version: ${{ inputs.version }}
deploy: ${{ inputs.deploy }}Please find descriptions for each parameter in the pipeline specification. And find extensive information to obtain each input parameter in the ParaPy pipeline documentation.
