diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 55e0c56..74a5e2d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build Project +name: Build on: push: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d008a19..51aeb96 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: Build & Deploy +name: CD Pipeline on: push: @@ -8,7 +8,7 @@ on: jobs: deploy: runs-on: ubuntu-latest - if: github.ref == 'refs/heads/master' + if: ${{ (github.ref == 'refs/heads/master') && && (! contains(toJSON(github.event.commits.*.msg), '[skip ci]')) }} steps: - name: Checkout uses: actions/checkout@v1