Skip to content

[πŸ‘·πŸš€] Build on refs/heads/dev and deploy #3124

[πŸ‘·πŸš€] Build on refs/heads/dev and deploy

[πŸ‘·πŸš€] Build on refs/heads/dev and deploy #3124

Workflow file for this run

name: '[πŸ‘·πŸš€] Build and Deploy'
# prettier-ignore
run-name: '[πŸ‘·πŸš€] Build on `${{ github.ref }}`${{ (github.repository_owner == ''LSS-Manager'' && (github.ref == ''refs/heads/master'' || github.ref == ''refs/heads/dev'')) && '' and deploy'' || '''' }}'
on:
push:
branches:
- master
- dev
workflow_dispatch:
jobs:
build:
name: '[πŸ‘·πŸš€] Build'
if: ${{ !contains(github.event.head_commit.message, 'skip ci') || !contains(github.event.head_commit.message, 'ci-push') }}
uses: ./.github/workflows/build.yml
with:
ref: ${{ github.ref }}
secrets: inherit
deploy:
needs: [build]
name: '[πŸ‘·πŸš€] Deploy'
if: github.repository_owner == 'LSS-Manager' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev')
uses: ./.github/workflows/deploy.yml
with:
branch: ${{ needs.build.outputs.branch }}
secrets: inherit