Skip to content

Merge pull request #42 from inpsyde/zip-on-release #17

Merge pull request #42 from inpsyde/zip-on-release

Merge pull request #42 from inpsyde/zip-on-release #17

name: Build to release branches
on:
workflow_dispatch:
push:
branches:
- master
- 1.x
- 2.x
paths:
- '**workflows/build-and-push-assets.yml' # the workflow file itself
- 'resources/**'
- '**package.json'
- '**tsconfig.json'
- '**yarn.lock'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
build-assets:
uses: inpsyde/reusable-workflows/.github/workflows/build-and-push-assets.yml@main
with:
BUILT_BRANCH_NAME: ${{ github.ref_name }}-built
COMPILE_SCRIPT_PROD: 'build'
COMPILE_SCRIPT_DEV: 'build:dev'
NODE_VERSION: '20'
MODE: 'prod'
secrets:
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 }}