From 4f49312c12f96b3023bcf78009dc367b0f0d8bde Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Fri, 13 Oct 2023 22:01:03 -0600 Subject: [PATCH] fix: don't compile every time because it takes forever --- .github/workflows/docker-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index de5b718..e8502e4 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -9,7 +9,7 @@ on: jobs: test: name: Test Build - if: "!contains(github.event.head_commit.message, '[skip ci:docker]')" + if: contains(github.event.head_commit.message, '[docker build]') runs-on: ubuntu-latest container: node:20-alpine steps: @@ -28,7 +28,7 @@ jobs: build_and_push: name: Build & Publish Docker Images needs: test - if: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev/0.15.0') && !contains(github.event.head_commit.message, '[skip ci:docker]') }} + if: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev/0.15.0') && contains(github.event.head_commit.message, '[docker build]') }} runs-on: ubuntu-latest steps: - name: Checkout @@ -57,7 +57,7 @@ jobs: discord: name: Send Discord Notification needs: build_and_push - if: always() && github.event_name != 'pull_request' && !contains(github.event.head_commit.message, '[skip ci:docker]') + if: always() && github.event_name != 'pull_request' && contains(github.event.head_commit.message, '[docker build]') runs-on: ubuntu-latest steps: - name: Get Build Job Status