Skip to content

Build and distribute #31

Build and distribute

Build and distribute #31

name: Build and distribute
on:
workflow_dispatch:
inputs:
CUSTOM_PACKAGE_VERSION:
description: 'Package Version (skip auto-detection of pre-release version)'
required: false
CUSTOM_BUILD_BRANCH:
description: 'Specify build branch name (skip dev/ prefix removal from current branch name)'
required: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-assets:
uses: inpsyde/reusable-workflows/.github/workflows/build-and-distribute.yml@main
with:
PACKAGE_VERSION: ${{ inputs.CUSTOM_PACKAGE_VERSION }}
BUILT_BRANCH_NAME: ${{ inputs.CUSTOM_BUILD_BRANCH }}
NODE_VERSION: '20'
PHP_VERSION: '8.1'
secrets:
COMPOSER_AUTH_JSON: ${{ secrets.PACKAGIST_AUTH_JSON }}
GITHUB_USER_EMAIL: ${{ secrets.DEPLOYBOT_EMAIL }}
GITHUB_USER_NAME: ${{ secrets.DEPLOYBOT_USER }}
GITHUB_USER_SSH_KEY: ${{ secrets.DEPLOYBOT_SSH_PRIVATE_KEY }}
GITHUB_USER_SSH_PUBLIC_KEY: ${{ secrets.DEPLOYBOT_SSH_PUBLIC_KEY }}
NPM_REGISTRY_TOKEN: ${{ secrets.DEPLOYBOT_PACKAGES_READ_ACCESS_TOKEN }}