Skip to content

Commit

Permalink
fix: empty commit for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed Jul 7, 2022
1 parent c244656 commit cec4b02
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: push-app

concurrency:
group: ${{github.workflow}}
cancel-in-progress: true

#--------------------------------------------------#
# Triggers #
Expand Down Expand Up @@ -67,6 +66,7 @@ jobs:
#--------------------------------------------------#
Setup:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.head_ref, 'env/') }}

outputs:
PipelineConfig: ${{ steps.script_setup.outputs.result }}
Expand Down Expand Up @@ -115,6 +115,7 @@ jobs:
#--------------------------------------------------#
Static-Analysis:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.head_ref, 'env/') }}
needs: Setup

permissions:
Expand Down Expand Up @@ -180,6 +181,8 @@ jobs:
#--------------------------------------------------#
Release:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.head_ref, 'env/') }}

needs:
- Setup
- Static-Analysis
Expand Down Expand Up @@ -263,6 +266,33 @@ jobs:
echo -e "\n\nINFO current version = $(cat package.json | jq -r '.version')\n\n"
#--------------------------------------------------#
# TRIGGER #
#--------------------------------------------------#
Trigger:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.head_ref, 'env/') }}

needs:
- Setup
- Release

steps:

# pre-job
- name: Setup | Cloning repository
uses: actions/checkout@v3
with:
ref: env/dev

# pre-job
- name: Setup | Cloning repository
run: |
git pull
git commit --allow-empty -am "fix: empty commit for testing"
git push
#--------------------------------------------------#
# Build #
#--------------------------------------------------#
Expand All @@ -273,6 +303,7 @@ jobs:
needs:
- Setup
- Release
- Trigger

strategy:
matrix:
Expand Down Expand Up @@ -416,7 +447,6 @@ jobs:
environment: ${{ inputs.environment }}
runs-on: ubuntu-latest


needs:
- Setup
- Build
Expand Down

0 comments on commit cec4b02

Please sign in to comment.