From 032fa927ed4f5cb11da452719b5f870e7ad99776 Mon Sep 17 00:00:00 2001 From: simojenki Date: Fri, 29 Jan 2021 13:19:45 +1100 Subject: [PATCH] Testing gh actions --- .github/workflows/{cicd.yml => master.yml} | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename .github/workflows/{cicd.yml => master.yml} (88%) diff --git a/.github/workflows/cicd.yml b/.github/workflows/master.yml similarity index 88% rename from .github/workflows/cicd.yml rename to .github/workflows/master.yml index 1f81bb6..cc28497 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/master.yml @@ -3,12 +3,12 @@ name: CI/CD on: push: branches: [ master ] - pull_request: - branches: [ master ] + # pull_request: + # branches: [ master ] jobs: - build: + build_and_test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -19,6 +19,7 @@ jobs: - run: yarn test push_to_registry: + needs: build_and_test name: Push Docker image to Docker Hub runs-on: ubuntu-latest steps: