Skip to content

PLT-0 - init

PLT-0 - init #4

Workflow file for this run

---
name: Release deploy
on:
push:
branches: [ "**" ]
tags-ignore: [ "**" ]
release:
types: [ published ]
jobs:
# changed_files:
# if: ${{ !contains(github.ref, 'refs/tags/') }}
# runs-on: ubuntu-24.04
# name: Test changed-files
# outputs:
# src_any_changed: ${{ steps.changed-files.outputs.src_any_changed }}
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - uses: nrwl/nx-set-shas@v4
# id: last_successful_commit_push
# with:
# main-branch-name: ${{ github.event.repository.default_branch }}
# workflow-id: 'release.yml'
# - name: Get changed files
# id: changed-files
# uses: tj-actions/changed-files@v45
# with:
# files_yaml_from_source_file: changed-files.yml
# base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
# - name: List all changed files
# run: |
# echo "${{ toJSON(steps.changed-files.outputs) }}"
build:
if: ${{ !contains(github.ref, 'refs/tags/') }}
# needs: changed_files
uses: ./.github/workflows/build.yml
with:
node_version: "18"
skip: ${{ github.event.pusher.name != 'bot-shop-ci' }} #&& needs.changed_files.outputs.src_any_changed != 'true' }}
secrets: inherit
# prerelease:
# needs: [changed_files, build]
# if: ${{ needs.changed_files.outputs.src_any_changed == 'true' && !contains(github.ref, 'refs/tags/') }}
# uses: Flaconi/github-actions/.github/workflows/publish-node.yml@v1
# with:
# branch: ${{ github.ref_name }}
# version: --preid beta.${{ github.run_id }} prerelease
# yarn_command_post_version: build
# pre_release: true
# secrets: inherit
# publish:
# if: ${{ contains(github.ref, 'refs/tags/') }}
# uses: Flaconi/github-actions/.github/workflows/publish-node.yml@v1
# with:
# yarn_command_post_version: build
# secrets: inherit